Skip to content

Function_evisit_core_js_utils_equal

Taylor Everding edited this page Feb 9, 2021 · 2 revisions

function equal(value[, ...values])

Parameters

  • value
    • (*) Argument to compare
  • values [optional]
    • (*) Arguments to compare to value

Return value

  • (*) True if objects are equal / false otherwise

Description

Deep compare two or more objects against each other to see if they are equal or not

Notes

If an object doesn't have the default Object.prototype.constructor (isn't a plain object) then the object is tested for strict equality and the .toString() between both objects is compared.

See Also


Clone this wiki locally