Continue()
함수, 작성 분류
Push a continue; onto the innermost scope, skipping to the next iteration of the nearest enclosing loop.
import { Continue } from 'typeshade'
시그니처, 설명, 예제는 커밋 c66579bf의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.
구문
const Continue: () => void반환값
void
설명
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.
예제
예제
If(outsideRange(arcOnSeg, halfS.mul(-2), segLen.add(halfS.mul(2))), () => Continue())관련 가이드
함께 보기
소스
src/core/ir/builder.ts, 1735행, 커밋 c66579bf 기준