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

Function getOpts

src/core/core.plugins.js:146–154  ·  view source on GitHub ↗
(options, all)

Source from the content-addressed store, hash-verified

144}
145
146function getOpts(options, all) {
147 if (!all && options === false) {
148 return null;
149 }
150 if (options === true) {
151 return {};
152 }
153 return options;
154}
155
156function createDescriptors(chart, {plugins, localIds}, options, all) {
157 const result = [];

Callers 1

createDescriptorsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected