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

Function hasFunction

src/core/core.config.js:402–403  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

400}
401
402const hasFunction = value => isObject(value)
403 && Object.getOwnPropertyNames(value).some((key) => isFunction(value[key]));
404
405function needContext(proxy, names) {
406 const {isScriptable, isIndexable} = _descriptors(proxy);

Callers 1

needContextFunction · 0.85

Calls 2

isObjectFunction · 0.85
isFunctionFunction · 0.85

Tested by

no test coverage detected