Control Flow Functions
PantherFlow control flow functions
case()
case()
case(condition1: bool, value1: any [, condition2: bool, value2: any, ... ] [, else: any]) -> any
Returns the first value for which the corresponding condition is true. If no condition is true, returns null.
Example:
Last updated
Was this helpful?