Skip to main content

none

True when the predicate holds for no element

none(arr: array, predicate: closure) -> bool

Arguments

NameType
arrarray
predicateclosure

Example

{{ none([1, 3, 5], # % 2 == 0) }}

Returns true.