Skip to main content
Module

x/ts_morph/mod.ts>BreakStatement#getLabelOrThrow

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Latest
method BreakStatement.prototype.getLabelOrThrow
import { BreakStatement } from "https://deno.land/x/ts_morph@22.0.0/mod.ts";

Gets this break statement's label or throw if it does not exist.

Parameters

optional
message: string | (() => string)