In Sets, bags, and mixes§
See primary documentation in context for infix ∉
Returns True
if $a
is not an element of $b
, else False
. More information, Wikipedia definition.
In Operators§
See primary documentation in context for infix ∉
multi infix:<∉>(, --> Bool)
Returns True
if $a
is not an element of $b
. Equivalent to !(elem)
.
say 4 ∉ (1, 2, 3); # OUTPUT: «True»say 2 !(elem) (1, 2, 3); # OUTPUT: «False»