COALESCE
Returns the first parameter whose value exists
Parameters
parameters
* (required) - The value to return if it exists
Returns
-
- The first parameter that exists
Examples
COALESCE(null, null, 'Test', 1)
// returns "Test"
COALESCE(1, null, null)
// returns 1
COALESCE(null, null, null)
// returns undefined
Updated about 1 year ago