Function endsWith

  • Check if string has a given suffix.

    Parameters

    • x: string

      a string

    • suffix: string

      suffix to look for

    • Optional end: number

      end index [end]

    Returns boolean

    has suffix?

Generated using TypeDoc