Last updated 1 year ago
Get a value conditionally (single condition)
If(condition, ifTrue, ifFalse)
condition - An expression that outputs true or false
condition
ifTrue - A value to output if the condition is true
ifTrue
ifFalse - A value to output if the condition is false
ifFalse
If(true, 1, 0) → 1 If(false,1, 0) → 0