shallowEqual
shallowEqual<
T>(a,b):boolean
Defined in: packages/sigma/src/utils/data.ts:55
Returns true if both objects have the same own properties, compared with
strict equality. Only checks the top level, and considers a missing key and
an undefined value to be equal.
Type Parameters
T
T extends object
Parameters
a
T
b
T
Returns
boolean