We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 364df90 commit de2b6a9Copy full SHA for de2b6a9
resources/function_help/if
@@ -0,0 +1,15 @@
1
+<h3>if function</h3>
2
+Tests a condition and returns a different result depending on the conditional
3
+check.
4
+
5
+<h4>Syntax</h4>
6
+<pre>IF (condition, result_when_true, result_when_false)</pre>
7
8
+<h4>Arguments</h4>
9
+condition → The condition which should be checked.
10
+result_when_true → The result which will be returned when the condition is True.
11
+result_when_false → The result which will be returned when the condition is False.
12
13
+<h4>Example</h4>
14
+<pre> IF( 1, 'One', 'Not One' ) → returns 'One' </pre>
15
+<pre> IF( 8, 'One', 'Not One' ) → returns 'Not One' </pre>
0 commit comments