Function trimEnd

  • Removes trailing whitespace or specified characters from string.

    Parameters

    • Optional string: string

      The string to trim.

    • Optional chars: string

      The characters to trim.

    Returns string

    Returns the trimmed string.

  • See

    _.trimEnd

    Parameters

    • string: string
    • index: string | number
    • guard: object

    Returns string

Generated using TypeDoc