3 ms·
no idea what all(@ar1) < any(@ar2) would be Subset?
by Estragon 11y ago
no idea what all(@ar1) < any(@ar2) would be
Subset?
- raiph 11y agoI think that means something like all the individual values in the @ar1 list of values are less than at least one of the individual values in @ar2.
- awwaiid 11y agoYes exactly. To take the code snippet a cousin-reply mentioned one step further, swaping @a and @b: > my @a = <1 2 3 4>; [1 2 3 4] > my @b = <2 3>; [2 3] > say so all(@a) < any(@b); False > say so all(@b) < any(@a); True