Function is

  • is(str: string, compareValue: string | RegExp, ignoreCase?: boolean): boolean
  • Check whether the string matches the given string.



    • str: string
    • compareValue: string | RegExp

      The Regexp or the string to test for. "*" functions as a wildcard.

    • ignoreCase: boolean = false

      Flag indicating whether the casing should be ignored or not.

    Returns boolean

Generated using TypeDoc