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

Function getAnyVals

dash/dash-renderer/src/actions/dependencies.js:1062–1070  ·  view source on GitHub ↗
(patternVals, vals)

Source from the content-addressed store, hash-verified

1060}
1061
1062export function getAnyVals(patternVals, vals) {
1063 const matches = [];
1064 for (let i = 0; i < patternVals.length; i++) {
1065 if (patternVals[i] === MATCH) {
1066 matches.push(vals[i]);
1067 }
1068 }
1069 return matches.length ? JSON.stringify(matches) : '';
1070}
1071
1072/*
1073 * Does this item (input / output / state) support multiple values?

Callers 4

getCallbacksByInputFunction · 0.90
getCallbackByOutputFunction · 0.85
addResolvedFromOutputsFunction · 0.85

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…