none multimethod

Methods

none(e:Eachable1, predicate:Fun) Source: stdlib.ngs:1718
Check that there is no element in e that satisfies the given predicate. Exactly same as not(any(e, predicate)) .

Returns

Bool

Example

[0,1,2].none(X>2)  # true
[0,1,2].none(X<2)  # false