MCPcopy Index your code
hub / github.com/plotly/plotly.js / notValid

Function notValid

src/lib/index.js:925–928  ·  view source on GitHub ↗
(prop)

Source from the content-addressed store, hash-verified

923var indexedPropertyRegex = /^([^\.]+)\[([0-9]+)\](\.)?(.+)?/;
924
925function notValid(prop) {
926 // guard against polluting __proto__ and other internals getters and setters
927 return prop.slice(0, 2) === '__';
928}
929
930lib.expandObjectPaths = function (data) {
931 var match, key, prop, datum, idx, dest, trailingPath;

Callers 1

index.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…