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

Function isValidKey

src/helpers/helpers.core.ts:211–213  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

209}
210
211function isValidKey(key: string) {
212 return ['__proto__', 'prototype', 'constructor'].indexOf(key) === -1;
213}
214
215/**
216 * The default merger when Chart.helpers.merge is called without merger option.

Callers 2

_mergerFunction · 0.85
_mergerIfFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected