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

Function hasFunction

src/core/core.config.js:519–520  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

517}
518
519const hasFunction = value => isObject(value)
520 && Object.getOwnPropertyNames(value).some((key) => isFunction(value[key]));
521
522function needContext(proxy, names) {
523 const {isScriptable, isIndexable} = _descriptors(proxy);

Callers 1

needContextFunction · 0.85

Calls 2

isObjectFunction · 0.85
isFunctionFunction · 0.85

Tested by

no test coverage detected