infix (elem)
Documentation for infix (elem)
assembled from the following types:
language documentation Sets, bags, and mixes
(Sets, bags, and mixes) infix (elem)
multi sub infix:<(elem)>(, Any --> Bool)multi sub infix:<(elem)>(, Set --> Bool)
Returns True
if $a
is an element of $b
.
say 2 (elem) (1, 2, 3).Set; # OUTPUT: «True»say 4 (elem) (1, 2, 3).Set; # OUTPUT: «False»