Skip to content

Commit 5c7d40f

Browse files
committed
Add cast to operators table in documentation
1 parent 03ac4a7 commit 5c7d40f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/main/resources/docs/Operators

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,12 @@ are for instance closures and proc references, among a few others. These are fir
7171
in a number of ways, for instance if we define @c as <code>closure @c = closure() { msg('hi'); };</code> then we can
7272
execute it as <code>@c();</code>.
7373
|-
74+
| ''Soft cast''
75+
| %%NOWIKI|( )%%
76+
| {{function|__cast__}}
77+
| Right
78+
| Soft (checking / non-converting) cast. Syntax <code>(type) value</code>.
79+
|-
7480
| ''Unary''
7581
| ! ++ --
7682
| {{function|not}}/{{function|inc}}/{{function|dec}}

0 commit comments

Comments
 (0)