deepEqual
Commons
stable
Recursively compares two values for structural equality. Handles primitives, Date objects, and plain objects. Returns true when both values have identical structure and content.
API
Signature
Signature TypeScript complète, extraite du fichier util.
API
Paramètres
Paramètres d'entrée acceptés par cet util.
- arequisany
- The first value to compare.
- brequisany
- The second value to compare.
API
Valeur de retour
La valeur retournée par cet util.
- true when both values are structurally equal, false otherwise.
Usage
Exemples
Extraits de code prêts à coller.
Comparing objects and dates