• Reduces a string to the specified length by discarding characters from the end of input value. If value is empty or shorter then maxLength - original value is returned.

    Parameters

    • value: string
    • maxLength: number

    Returns string

Generated using TypeDoc