txt: ## trim-leading.md
  trim-leading
  
  Combined from primary sources listed below.
  
  # [In Allomorph](#___top "go to top of document")[§](#(Allomorph)_method_trim-leading "direct link")
  
  See primary documentation
  [in context](/type/Allomorph#method_trim-leading)
  for **method trim-leading**.
  
  ```raku
  method trim-leading(Allomorph:D:)
  ```
  
  Calls [`Str.trim-leading`](/type/Str#method_trim-leading) on the invocant's [`Str`](/type/Str) value.
  
  # [In Str](#___top "go to top of document")[§](#(Str)_method_trim-leading "direct link")
  
  See primary documentation
  [in context](/type/Str#method_trim-leading)
  for **method trim-leading**.
  
  ```raku
  method trim-leading(Str:D: --> Str)
  ```
  
  Removes the whitespace characters from the beginning of a string. See also [trim](/routine/trim).
  
  # [In Cool](#___top "go to top of document")[§](#(Cool)_routine_trim-leading "direct link")
  
  See primary documentation
  [in context](/type/Cool#routine_trim-leading)
  for **routine trim-leading**.
  
  ```raku
  sub trim-leading(Str(Cool))
  method trim-leading()
  ```
  
  Coerces the invocant (or in sub form, its argument) to [`Str`](/type/Str), and returns the string with leading whitespace stripped.
  
  ```raku
  my $stripped = '  abc '.trim-leading;
  say "<$stripped>";          # OUTPUT: «<abc >␤»
  ```
  