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

Function setUid

src/plots/plots.js:572–575  ·  view source on GitHub ↗
(uid, i)

Source from the content-addressed store, hash-verified

570 var seenUids = {};
571
572 function setUid(uid, i) {
573 out[i] = uid;
574 seenUids[uid] = 1;
575 }
576
577 function tryUid(uid, i) {
578 if(uid && typeof uid === 'string' && !seenUids[uid]) {

Callers 2

tryUidFunction · 0.85
getTraceUidsFunction · 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…