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
.
This function is valid in
v2.13.0 to v2.23.0.
This function has been downloaded 30 times.
Parameters
{*}
y
Value to be compared to x
for equality.
{…*=}
otherValues
Optional
Any additional values to be compared to x
and y
.
Returns
{boolean}
true
if all of the parameters passed in are exactly the same, otherwise false
is returned.
Required Functions
This function directly requires the following functions which are included automatically:

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
.

slice()
Slice does not modify the original array, but instead returns a shallow copy of elements from the original array.
Requiring Functions
This function is directly required by the following functions:

chain()
Creates a chained version of a value.

diffArrays()
Creates a new array which is the difference of the two given arrays.

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
.

uniquify()
Creates a new version of an array with all of the duplicate values removed.

wait()
Creates a waiter function which takes orders and serves orders in a way and calls a ready function when all orders have been served.