MCPcopy Create free account
hub / github.com/chartjs/Chart.js / set

Function set

src/core/core.defaults.js:27–32  ·  view source on GitHub ↗
(root, scope, values)

Source from the content-addressed store, hash-verified

25}
26
27function set(root, scope, values) {
28 if (typeof scope === 'string') {
29 return merge(getScope(root, scope), values);
30 }
31 return merge(getScope(root, ''), scope);
32}
33
34/**
35 * Please use the module's default export which provides a singleton instance

Callers 3

setMethod · 0.70
describeMethod · 0.70
overrideMethod · 0.70

Calls 2

mergeFunction · 0.85
getScopeFunction · 0.70

Tested by 1

describeMethod · 0.56