Function caseInsensitiveEquals

  • Returns true if the arguments are case-insensitive equal. Note: the method converts arguments to strings for the purposes of comparing numbers, which means that it will return odd behaviors with objects (ie. LABKEY.Utils.caseInsensitiveEquals({t: 3}, '[object Object]') // returns true)

    Parameters

    • a: any

      The first item to test

    • b: any

      The second item to test

    Returns boolean

    True if arguments are case-insensitive equal, false if not