infix (<=)

Documentation for infix (<=) assembled from the following types:

language documentation Sets, bags, and mixes

From Sets, bags, and mixes

(Sets, bags, and mixes) infix (<=)

multi sub infix:<<(<=)>>(Any $aAny $b --> Bool)
multi sub infix:<<(<=)>>(Setty $aSetty $b --> Bool)

Subset of or equal to operator.

Returns True if $a is a subset or is equal to $b, i.e., if all the elements of $a are elements of $b and $a is a smaller or equal sized set than $b.

say (123).Set (<=) (321).Set;    # OUTPUT: «True␤» 
say (13).Set (<=) (21).Set;          # OUTPUT: «False␤» 
say ∅ (<=) (321).Set;                # OUTPUT: «True␤»