If
Get a value conditionally (single condition)
If(true, 1, 0) → 1
If(false,1, 0) → 0
Inputs
If(condition, ifTrue, ifFalse)
condition
- An expression that outputs true or falseifTrue
- A value to output if thecondition
is trueifFalse
- A value to output if thecondition
is false
Last updated
Was this helpful?