MCPcopy Index your code
hub / github.com/plotly/dash / wildcardOverlap

Function wildcardOverlap

dash/dash-renderer/src/actions/dependencies.js:490–505  ·  view source on GitHub ↗
({id, property}, objs)

Source from the content-addressed store, hash-verified

488};
489
490function wildcardOverlap({id, property}, objs) {
491 const idKeys = keys(id).sort();
492 const idVals = props(idKeys, id);
493 for (const obj of objs) {
494 const {id: id2, property: property2} = obj;
495 if (
496 property2 === property &&
497 typeof id2 !== 'string' &&
498 equals(keys(id2).sort(), idKeys) &&
499 all(matchWildKeys, zip(idVals, props(idKeys, id2)))
500 ) {
501 return obj;
502 }
503 }
504 return false;
505}
506
507export function validateCallbacksToLayout(state_, dispatchError) {
508 const {config, graphs, layout: layout_, paths: paths_} = state_;

Callers 2

findDuplicateOutputsFunction · 0.85
checkInOutOverlapFunction · 0.85

Calls 1

sortMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…