Skip to content

Commit de2b6a9

Browse files
committed
Add function help for IF expression
Fix #13015
1 parent 364df90 commit de2b6a9

File tree

1 file changed

+15
-0
lines changed
  • resources/function_help

1 file changed

+15
-0
lines changed

resources/function_help/if

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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 &rarr; The condition which should be checked.
10+
result_when_true &rarr; The result which will be returned when the condition is True.
11+
result_when_false &rarr; The result which will be returned when the condition is False.
12+
13+
<h4>Example</h4>
14+
<pre> IF( 1, 'One', 'Not One' ) &rarr; returns 'One' </pre>
15+
<pre> IF( 8, 'One', 'Not One' ) &rarr; returns 'Not One' </pre>

0 commit comments

Comments
 (0)