txt: ## flip.md
  flip
  
  Combined from primary sources listed below.
  
  # [In Str](#___top "go to top of document")[§](#(Str)_routine_flip "direct link")
  
  See primary documentation
  [in context](/type/Str#routine_flip)
  for **routine flip**.
  
  ```raku
  multi        flip(Str:D  --> Str:D)
  multi method flip(Str:D: --> Str:D)
  ```
  
  Returns the string reversed character by character.
  
  Examples:
  
  ```raku
  "Raku".flip;  # OUTPUT: «ukaR»
  "ABBA".flip;  # OUTPUT: «ABBA»
  ```
  
  # [In Allomorph](#___top "go to top of document")[§](#(Allomorph)_method_flip "direct link")
  
  See primary documentation
  [in context](/type/Allomorph#method_flip)
  for **method flip**.
  
  ```raku
  method flip(Allomorph:D:)
  ```
  
  Calls [`Str.flip`](/type/Str#routine_flip) on the invocant's [`Str`](/type/Str) value.
  
  # [In Cool](#___top "go to top of document")[§](#(Cool)_routine_flip "direct link")
  
  See primary documentation
  [in context](/type/Cool#routine_flip)
  for **routine flip**.
  
  ```raku
  sub flip(Cool $s --> Str:D)
  method flip()
  ```
  
  Coerces the invocant (or in sub form, its argument) to [`Str`](/type/Str), and returns a reversed version.
  
  ```raku
  say 421.flip;       # OUTPUT: «124␤»
  ```
  