Continue()
Function in Authoring
Push a continue; onto the innermost scope, skipping to the next iteration of the nearest enclosing loop.
import { Continue } from 'typeshade/core/ir'
The signature, the description and the examples come from the compiler's own source at commit af54ddad5.
Syntax
const Continue: () => voidReturn value
void
Description
An If or Switch body nested inside a Loop is not itself a loop
boundary, so Continue() written inside a guard in a loop still targets that loop.
Examples
Example
If(outsideRange(arcOnSeg, halfS.mul(-2), segLen.add(halfS.mul(2))), () => Continue())See also
Source
src/core/ir/builder.ts, line 1458, at commit af54ddad5