Database & utility
Scalar
constant_or_null()
If arg2 is NULL, return NULL. Otherwise, return arg1.
Arguments & returns
constant_or_null(arg1, arg2, …)
Scalar
| Overload link | arg1 | arg2 |
… Varargs | Returns |
|---|---|---|---|---|
| #01 | ANY | ANY |
ANY |
ANY |
… accepts a variable number of arguments of the type shown.
Example
Haybarn WASM 1.5.5-rc3 · In your browser
Engine example · Run to view results.