has_no multimethod

Methods

has_no(container:Any, element:Any) Source: stdlib.ngs:63
Exactly same as "element not in container". It's just more convenient in specific cases.

Returns

Bool

Example

[1,2,3].has_no(2)  # false
[[1,2,3], [1,20,30], [100,200,300]].filter(X.has_no(1))  # [ [100,200,300] ]