MCPcopy Create free account
hub / github.com/plotly/dash / diffHead

Function diffHead

dash/dash-renderer/src/actions/paths.js:28–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26 const {strs: oldStrs, objs: oldObjs} = oldPaths || {strs: {}, objs: {}};
27
28 const diffHead = path => startingPath.some((v, i) => path[i] !== v);
29
30 const spLen = startingPath.length;
31 // if we're updating a subtree, clear out all of the existing items

Callers 1

computePathsFunction · 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…