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

Function tryUid

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

Source from the content-addressed store, hash-verified

575 }
576
577 function tryUid(uid, i) {
578 if(uid && typeof uid === 'string' && !seenUids[uid]) {
579 setUid(uid, i);
580 return true;
581 }
582 }
583
584 for(i = 0; i < len; i++) {
585 var newUid = newData[i].uid;

Callers 1

getTraceUidsFunction · 0.85

Calls 1

setUidFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…