• Removes leading and 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.

  • Parameters

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

    Returns string

    See

    _.trim

Generated using TypeDoc