Methods

noneΒΆ

none(e:Eachable1, predicate:Fun)

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

Returns

Bool

Example

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