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

Function has

src/helpers/helpers.config.ts:87–89  ·  view source on GitHub ↗

* A trap for the in operator.

(target, prop: string)

Source from the content-addressed store, hash-verified

85 * A trap for the in operator.
86 */
87 has(target, prop: string) {
88 return getKeysFromAllScopes(target).includes(prop);
89 },
90
91 /**
92 * A trap for Object.getOwnPropertyNames and Object.getOwnPropertySymbols.

Callers

nothing calls this directly

Calls 2

getKeysFromAllScopesFunction · 0.85
hasMethod · 0.80

Tested by

no test coverage detected