Checks for equality of two values, returning true or a "truthy" value if they are considered equal.
If the customizer returns undefined, comparisons are handled by z.isEqual.
It is called with (aValue, bValue, options, a, b) with this bound to ctx (if passed).
The options argument includes a path array, which is populated with the keys/indexes while objects/arrays are traversed, empty at root. The _.last(options.path) is the current key/index (undefined if at root).
Customizer callback type for
z.isEqual
.Checks for equality of two values, returning
true
or a "truthy" value if they are considered equal.If the customizer returns
undefined
, comparisons are handled byz.isEqual
.It is called with (aValue, bValue, options, a, b) with
this
bound toctx
(if passed).The
options
argument includes apath
array, which is populated with the keys/indexes while objects/arrays are traversed, empty at root. The _.last(options.path) is the current key/index (undefined if at root).