Function limit

  • Limit the number of characters on the string.

    Parameters

    • str: string
    • count: number

      The number of characters to keep.

    • limiter: string = '...'

      The string to be appended at the end after the limit.

    Returns string

Generated using TypeDoc