Options
All
  • Public
  • Public/Protected
  • All
Menu

Module string/trimLeft

Index

References

Functions

References

Renames and re-exports trimLeft

Functions

  • trimLeft(str?: string): string
  • Removes leading whitespace from str.

    example
     trimLeft('  abc  '); //=> 'abc   '
    

    Parameters

    • str: string = ''

      The string to trim.

    Returns string

    Returns the trimmed string.

Generated using TypeDoc