infix (<)
Documentation for infix (<)
assembled from the following types:
language documentation Sets, bags, and mixes
(Sets, bags, and mixes) infix (<)
multi sub infix:<<(<)>>(Any , Any --> Bool)multi sub infix:<<(<)>>(Setty , Setty --> Bool)
Returns True
if $a
is a strict subset of $b
, i.e., that all the elements of $a
are elements of $b
but $a
is a smaller set than $b
.
say (1, 2, 3).Set (<) (3, 2, 1).Set; # OUTPUT: «False»say (1, 3).Set (<) (3, 2, 1).Set; # OUTPUT: «True»say ∅ (<) (3, 2, 1).Set; # OUTPUT: «True»