Function startsWith

  • Check if string has a given prefix.

    Parameters

    • x: string

      a string

    • prefix: string

      prefix to look for

    • Optional start: number

      start index [0]

    Returns boolean

    has prefix?

Generated using TypeDoc