minpairs
ErrorsCollection

minpairs

Synthesised documentation from type/Any type/Setty

From type/Any

See Original text in context

multi method minpairs(Any:D:)

Calls .pairs and returns a Seq with all of the Pairs with minimum values, as judged by the cmp:

<a b c a b c>.minpairs.raku.put# OUTPUT: «(0 => "a", 3 => "a").Seq␤» 
%(:42a, :75b).minpairs.raku.put# OUTPUT: «(:a(42),).Seq␤»

From type/Setty

See Original text in context

multi method minpairs(Setty:D: --> Seq:D)

Returns the value of self.pairs (as all Pairs have minimum values). See also Any.minpairs