Skip to content
sigma.jssigma.js
v4.0.5DocsExamplesGitHub12.2K

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.

T extends object

T

T

boolean