Skip to content

not_null

Signature

not_null(any)

Description

Returns the first non null element in the input array.

Examples

not_null(null, null, 'foo') == 'foo'
not_null(null, null) == null