Skip to content

Commit 6401e7e

Browse files
committed
updated the jsdoc to explicty state known limitations
Signed-off-by: Michael Beemer <[email protected]>
1 parent d94fb74 commit 6401e7e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/react/src/internal/is-equal.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
/**
22
* Deeply compare two values to determine if they are equal.
33
* Supports primitives and serializable objects.
4+
*
5+
* Note: Does not handle Date, RegExp, Map, Set, or circular references.
6+
* Suitable for comparing EvaluationDetails and other JSON-serializable data.
47
* @param {unknown} value First value to compare
58
* @param {unknown} other Second value to compare
69
* @returns {boolean} True if the values are equal

0 commit comments

Comments
 (0)