Documentation for infix (cont), infix β
assembled from the following pages:
Language documentation: Operators Β§
From Operators
(Operators) infix (cont), infix β Β§
multi sub infix:<(cont)>(, --> Bool)
Returns True
if $a
contains $b
as an element.
say (1,2,3) (cont) 2; # OUTPUT: Β«Trueβ€Β» say (1, 2, 3) β 4; # OUTPUT: Β«Falseβ€Β»
Since release 2020.05, β is an alias for this operator.
Language documentation: Sets, bags, and mixes Β§
(Sets, bags, and mixes) infix (cont), infix β Β§
Returns True
if $a
contains $b
as an element, else False
. More information, Wikipedia definition.