MCPcopy Create free account
hub / github.com/feiyu563/PrometheusAlert / isValidKey

Function isValidKey

static/plugins/chart.js/Chart.bundle.js:2110–2112  ·  view source on GitHub ↗
(key)

Source from the content-addressed store, hash-verified

2108var chartjsColor = Color;
2109
2110function isValidKey(key) {
2111 return ['__proto__', 'prototype', 'constructor'].indexOf(key) === -1;
2112}
2113
2114/**
2115 * @namespace Chart.helpers

Callers 1

Chart.bundle.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected