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
Section titled “Type Parameters”T extends object
Parameters
Section titled “Parameters”T
T
Returns
Section titled “Returns”boolean