infix (cont)

Documentation for infix (cont) assembled from the following types:

language documentation Sets, bags, and mixes

From Sets, bags, and mixes

(Sets, bags, and mixes) infix (cont)

multi sub infix:<(cont)>(Any $a$b --> Bool)
multi sub infix:<(cont)>(Set $a$b --> Bool)

Contains operator.

Returns True if $a contains $b as an element.

say (123).Set (cont) 2;              # OUTPUT: «True␤» 
say (123).Set (cont) 4;              # OUTPUT: «False␤»