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

Function getScope

src/helpers/helpers.config.ts:306–307  ·  view source on GitHub ↗
(key: ResolverObjectKey, parent: AnyObject)

Source from the content-addressed store, hash-verified

304}
305
306const getScope = (key: ResolverObjectKey, parent: AnyObject) => key === true ? parent
307 : typeof key === 'string' ? resolveObjectKey(parent, key) : undefined;
308
309function addScopes(
310 set: Set<AnyObject>,

Callers 1

addScopesFunction · 0.70

Calls 1

resolveObjectKeyFunction · 0.85

Tested by

no test coverage detected