Function endsWith

  • Returns true if value ends with ending

    Parameters

    • value: string

      the value to examine

    • ending: string

      the ending to look for

    Returns boolean