Skip to content
sigma.js sigma.js
v4.0.6 Docs Examples GitHub 12.2K

hasNewPartialProps

hasNewPartialProps<T>(current, partial): boolean

Defined in: packages/sigma/src/utils/data.ts:42

Returns true if any own property of partial differs (strict equality) from the corresponding property in current. Uses for…in for speed and short-circuits on the first difference.

T extends Record<string, unknown>

T

Partial<T>

boolean