|
|
If
If determines whether or not some condition is true and then returns one of two values accordingly.
Structure: if condition is true then result becomes thenValue otherwise result becomes elseValue
Example: if false then 'a' else 'b' = 'b' if true then 1 else 2 = 1 if true then (1, 1) else (2, 2) = (1, 1)
Special compound model elements
|