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

Function isEqualArgs

components/dash-table/src/core/comparer.ts:7–24  ·  view source on GitHub ↗
(args1: any[] | null, args2: any[])

Source from the content-addressed store, hash-verified

5}
6
7export function isEqualArgs(args1: any[] | null, args2: any[]): boolean {
8 if (!args1) {
9 return false;
10 }
11
12 const _args1_ = args1.length;
13 if (_args1_ !== args2.length) {
14 return false;
15 }
16
17 for (let i = 0; i < _args1_; ++i) {
18 if (args1[i] !== args2[i]) {
19 return false;
20 }
21 }
22
23 return true;
24}

Callers 4

memoizeOneFunction · 0.90
memoizeOneWithFlagFunction · 0.90
memoizeAllFunction · 0.90
isEqualFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…