MCPcopy
hub / github.com/lebab/lebab / breakWithLabelUsed

Function breakWithLabelUsed

src/transform/forEach/validateForLoop.js:45–47  ·  view source on GitHub ↗
(body)

Source from the content-addressed store, hash-verified

43}
44
45function breakWithLabelUsed(body) {
46 return traverser.find(body, ({type, label}) => type === 'BreakStatement' && label);
47}
48
49function continueWithLabelUsed(body) {
50 return traverser.find(body, ({type, label}) => type === 'ContinueStatement' && label);

Callers 1

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