core.deepequals
Home > @medplum/core > deepEquals
deepEquals() function
Resource equality. Ignores meta.versionId and meta.lastUpdated.
Signature:
export declare function deepEquals(object1: unknown, object2: unknown, path?: string): boolean;
Parameters
Parameter | Type | Description |
---|---|---|
object1 | unknown | The first object. |
object2 | unknown | The second object. |
path | string | (Optional) Optional path string. |
Returns:
boolean
True if the objects are equal.