txt: ## maxpairs.md
  maxpairs
  
  Combined from primary sources listed below.
  
  # [In Any](#___top "go to top of document")[§](#(Any)_method_maxpairs "direct link")
  
  See primary documentation
  [in context](/type/Any#method_maxpairs)
  for **method maxpairs**.
  
  ```raku
  multi method maxpairs(Any:D:)
  ```
  
  Calls [`.pairs`](/routine/pairs) and returns a [`Seq`](/type/Seq) with all of the Pairs with maximum values, as judged by the [`cmp` operator](/routine/cmp):
  
  ```raku
  <a b c a b c>.maxpairs.raku.put; # OUTPUT: «(2 => "c", 5 => "c").Seq␤»
  %(:42a, :75b).maxpairs.raku.put; # OUTPUT: «(:b(75),).Seq␤»
  ```
  
  # [In role Setty](#___top "go to top of document")[§](#(role_Setty)_method_maxpairs "direct link")
  
  See primary documentation
  [in context](/type/Setty#method_maxpairs)
  for **method maxpairs**.
  
  ```raku
  multi method maxpairs(Setty:D: --> Seq:D)
  ```
  
  Returns the value of [`self.pairs`](/routine/pairs) (as all Pairs have maximum values). See also [`Any.maxpairs`](/routine/maxpairs)
  