layout |
---|
default |
{::options parse_block_html="true" /}
{% include opencol.html size=3 newrow=true %}
- Variables
let, var
- Print
print("")
- Comments
//
- Optionals
?, !
- Closures (mini)
- Functions
func
- Cheatsheet
- If • If let • If case let
- Guard
guard, guard let
- For-in
- While
while, repeat-while
- Switch: case • case let
{% include closecol.html %}{% include opencol.html size=3 %}
{% include closecol.html %}{% include opencol.html size=3 %}
- Assign
=
+=
-=
*=
- Math
+
-
*
/
%
- Comparison
==
!=
>
- Ternary
_ ? _ : _
- Nil-coalescing
??
- Range
a...b
- Logical
!
&&
!!
- Identity
===
!==
{% include closecol.html %}{% include opencol.html size=3 %}
{% include closecol.html closerow=true %}