Compares two values to check if they are the same. If x is an object with an eq method, it returns x.eq(y). Otherwise it returns the result of x === y.
x
eq
x.eq(y)
x === y
true if x and y are equal or false otherwise.
true
y
false
Generated using TypeDoc
Compares two values to check if they are the same. If
xis an object with aneqmethod, it returnsx.eq(y). Otherwise it returns the result ofx === y.Returns
trueifxandyare equal orfalseotherwise.