method minpairs
| 1 | class Any |
| 1.1 | (Any) method minpairs |
| 2 | role Setty |
| 2.1 | (Setty) method minpairs |
Documentation for method minpairs assembled from the following types:
class Any
From Any
(Any) method minpairs
Defined as:
multi method minpairs(Any:)
Calls .pairs and returns a Seq with all of the Pairs with minimum values, as judged by the cmp operator:
<a b c a b c>.minpairs.perl.put; # OUTPUT: «(0 => "a", 3 => "a").Seq»%(:42a, :75b).minpairs.perl.put; # OUTPUT: «(:a(42),).Seq»
role Setty
From Setty
(Setty) method minpairs
Defined As:
multi method minpairs(Setty: --> Seq)
Returns the value of self.pairs (as all Pairs have minimum values). See also Any.minpairs