• Removes trailing and leading characters from the string.

    Parameters

    • str: string

      string to be trimmed

    • chars: string | string[]

      single character string or an array of character strings.

    Returns string

Generated using TypeDoc