You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>Tact supports if statements in a similar syntax to most programming languages that you're used to. Curly braces are required though, so you can't leave them out.</p>
64
64
<p>The condition of the statement can be any boolean expression.</p>
65
-
<p>There is no <code>switch</code> statement in Tact. If you need to need to handle a group of outcomes separately, follow the <code>else if</code> pattern you can see in the third example.</p>
65
+
<p>There is no <code>switch</code> statement in Tact. If you need to handle a group of outcomes separately, follow the <code>else if</code> pattern you can see in the third example.</p>
Copy file name to clipboardExpand all lines: src/routes/(examples)/04-if-statements/content.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,4 +4,4 @@ Tact supports if statements in a similar syntax to most programming languages th
4
4
5
5
The condition of the statement can be any boolean expression.
6
6
7
-
There is no `switch` statement in Tact. If you need to need to handle a group of outcomes separately, follow the `else if` pattern you can see in the third example.
7
+
There is no `switch` statement in Tact. If you need to handle a group of outcomes separately, follow the `else if` pattern you can see in the third example.
0 commit comments