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

Function joinPropStr

src/lib/nested_property.js:186–192  ·  view source on GitHub ↗
(propStr, newPart)

Source from the content-addressed store, hash-verified

184}
185
186function joinPropStr(propStr, newPart) {
187 var toAdd = newPart;
188 if(isNumeric(newPart)) toAdd = '[' + newPart + ']';
189 else if(propStr) toAdd = '.' + newPart;
190
191 return propStr + toAdd;
192}
193
194// handle special -1 array index
195function setArrayAll(containerArray, innerParts, val, propStr) {

Callers 1

npSetFunction · 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…