Function trimContent

  • Name

    trimContent

    Description

    Trim a string to max length

    Returns

    trimmed string

    Parameters

    • content: string = ''

      String to trim

    • maxLength: number = 1024

      Length of the string to trim, default 1024

    • ellipsis: boolean = false

      Boolean to add dots at the end of the string, default false

    Returns string

Generated using TypeDoc