Skip to content
Permalink
Browse files

Add function help for IF expression

Fix #13015
  • Loading branch information
m-kuhn committed Jul 13, 2015
1 parent 364df90 commit de2b6a968878e620a174f62c3bbcf8568186ca66
Showing with 15 additions and 0 deletions.
  1. +15 −0 resources/function_help/if
@@ -0,0 +1,15 @@
<h3>if function</h3>
Tests a condition and returns a different result depending on the conditional
check.

<h4>Syntax</h4>
<pre>IF (condition, result_when_true, result_when_false)</pre>

<h4>Arguments</h4>
condition &rarr; The condition which should be checked.
result_when_true &rarr; The result which will be returned when the condition is True.
result_when_false &rarr; The result which will be returned when the condition is False.

<h4>Example</h4>
<pre> IF( 1, 'One', 'Not One' ) &rarr; returns 'One' </pre>
<pre> IF( 8, 'One', 'Not One' ) &rarr; returns 'Not One' </pre>

0 comments on commit de2b6a9

Please sign in to comment.
You can’t perform that action at this time.