MCPcopy Create free account
hub / github.com/nodejs/node / supportsLabeledBreakOrContinue

Function supportsLabeledBreakOrContinue

test/fixtures/snapshot/typescript.js:103684–103686  ·  view source on GitHub ↗

* Indicates whether the provided block supports `break` statements with labels. * * @param block A code block.

(block)

Source from the content-addressed store, hash-verified

103682 * @param block A code block.
103683 */
103684 function supportsLabeledBreakOrContinue(block) {
103685 return block.kind === 4 /* CodeBlockKind.Labeled */;
103686 }
103687 /**
103688 * Indicates whether the provided block supports `continue` statements.
103689 *

Callers 2

findBreakTargetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected