all multimethod
Methods
- all(e:Eachable1, pattern:Any=method) Source: stdlib.ngs:2555
Check whether all elements in arr satisfy the given pattern. Parameters
e The items to check pattern Test function or anything else acceptable by (=~), defaults to Bool.constructors Returns
BoolExample
[1,2,3].all(X<10) # true [1,2,10].all(X>5) # false
- all(e:Eachable2, predicate:Fun) Source: stdlib.ngs:3297
Checks whether all of the key-value pairs satisfies the predicate: predicate(k, v) Returns
Bool