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

Function hasFlag

src/traces/bar/plot.js:1108–1110  ·  view source on GitHub ↗
(flag)

Source from the content-addressed store, hash-verified

1106 var tx;
1107
1108 var hasFlag = function (flag) {
1109 return parts.indexOf(flag) !== -1;
1110 };
1111
1112 if (hasFlag('label')) {
1113 text.push(formatLabel(cd[index].p));

Callers 1

calcTextinfoFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…