- :any
coalesce
??
if first value is null or false, return second value; otherwise return the first one
Parameters
coalesce value :any alternative :any
Returns
Examples
copy; Note that 'attr returns null if it has no attribute print coalesce attr "myAttr" "attr not found" print (attr "myAttr") ?? "attr not found" print (myData) ?? defaultData