MCPcopy
hub / github.com/plotly/dash / isEqual

Function isEqual

components/dash-table/src/core/comparer.ts:1–5  ·  view source on GitHub ↗
(obj1: object, obj2: object)

Source from the content-addressed store, hash-verified

1export function isEqual(obj1: object, obj2: object) {
2 return (
3 obj1 === obj2 || isEqualArgs(Object.values(obj1), Object.values(obj2))
4 );
5}
6
7export function isEqualArgs(args1: any[] | null, args2: any[]): boolean {
8 if (!args1) {

Callers 4

shouldComponentUpdateMethod · 0.90
DropdownFunction · 0.85

Calls 1

isEqualArgsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…