@tempots/std
deepEqual() function
Checks if two values are equal by comparing their contents.
Signature:
deepEqual: (a: A, b: A) => boolean
Parameters
Parameter |
Type |
Description |
---|---|---|
a |
A |
The first value to compare. |
b |
A |
The second value to compare. |
Returns: boolean
true
if the values are deeply equal, false
otherwise.