Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Add function help for IF expression
Fix #13015
- Loading branch information
Showing
1 changed file
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 → The condition which should be checked. | ||
result_when_true → The result which will be returned when the condition is True. | ||
result_when_false → The result which will be returned when the condition is False. | ||
|
||
<h4>Example</h4> | ||
<pre> IF( 1, 'One', 'Not One' ) → returns 'One' </pre> | ||
<pre> IF( 8, 'One', 'Not One' ) → returns 'Not One' </pre> |