Methods
all
ΒΆ
all(e:
Eachable
, predicate:
Any
)
Check whether all elements in arr satisfy the given predicate.
Source:
stdlib.ngs:1011
e
The items to check
predicate
Test function
Returns
Bool
Example
[1,2,3].all(X<10) # true [1,2,10].all(X>5) # false