isNot()

Tests to see if two or more values are not exactly the same. This is similar to !== but will also work with NaN and can differentiate between -0 and 0.

This function is valid in v2.13.0 to v2.24.3. This function has been downloaded 68 times.

Parameters

{*} x
A value.
{*} y
Value to be compared to x for inequality.
{…*=} otherValues Optional
Any additional values to be compared to x and y.

Returns

{boolean}
true if any of the parameters passed are not exactly the same, otherwise false is returned.

Required Function

This function directly requires the following function which is included automatically:

  • is()
    Tests to see if two or more values are exactly the same. This is similar to === but will also indicate that NaN is NaN and will indicate that -0 is not 0.

Requiring Function

This function is directly required by the following function:

  • is()
    Tests to see if two or more values are exactly the same. This is similar to === but will also indicate that NaN is NaN and will indicate that -0 is not 0.