none multimethod
Methods
- none(e:Eachable1, pattern:Any=method) Source: stdlib.ngs:3002
Check whether there is no element in e that satisfies the given pattern. Exactly same as not(any(e, pattern)) . Parameters
e The items to check pattern Test function or anything else acceptable by (=~), defaults to Bool.constructors Returns
BoolExample
[0,1,2].none(X>2) # true [0,1,2].none(X<2) # false