MCPcopy
hub / github.com/chartjs/Chart.js / _resolve

Function _resolve

src/helpers/helpers.config.ts:407–417  ·  view source on GitHub ↗
(key: string, scopes: AnyObject[])

Source from the content-addressed store, hash-verified

405}
406
407function _resolve(key: string, scopes: AnyObject[]) {
408 for (const scope of scopes) {
409 if (!scope) {
410 continue;
411 }
412 const value = scope[key];
413 if (typeof value !== 'undefined') {
414 return value;
415 }
416 }
417}
418
419function getKeysFromAllScopes(target: ResolverCache) {
420 let keys = target._keys;

Callers 2

_createResolverFunction · 0.85
_resolveWithPrefixesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected