Function words

  • Limit the number of words on the string.

    Parameters

    • str: string
    • count: number

      The number of words to keep.

    • limiter: string = '...'

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

    Returns string

Generated using TypeDoc