empty

function <T> empty(arg: T?): boolean

Checks if a value is absent, i.e. null or empty.

Equivalent to not exists(...).

Return

true if value is null or an empty collection, false otherwise

Since

0.8.0

See also