Options
All
  • Public
  • Public/Protected
  • All
Menu

Module string/trimRight

Index

References

Functions

References

Renames and re-exports trimRight

Functions

  • trimRight(str?: string): string
  • Removes ending whitespace from str.

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

    Parameters

    • str: string = ''

      The string to trim.

    Returns string

    Returns the trimmed string.

Generated using TypeDoc