CmpOp
타입, IR 분류
The operator tag on Expr.compare: the six relational operators.
import type { CmpOp } from 'typeshade'
시그니처, 설명, 예제는 커밋 c66579bf의 컴파일러 소스에서 그대로 가져온 영어 원문입니다.
구문
type CmpOp = '<' | '>' | '<=' | '>=' | '==' | '!=';설명
A comparison
produces a bool, or a vecN<bool> when the operands are vectors. The WGSL, GLSL
and CPU backends spell or evaluate it identically.
소스
src/core/ir/nodes.ts, 35행, 커밋 c66579bf 기준