bool
타입, 런타임 분류
호스트 값으로서의 bool입니다. 불리언이며, 숫자 타입처럼 자기 이름을 가집니다.
import type { bool } from 'typeshade/runtime'
설명은 커밋 af54ddad5의 검토된 컴파일러 문서를 번역한 것입니다. 시그니처와 예제 코드는 원문을 따르며, 필요한 경우 설명에 편집상 수정이 반영됩니다.
구문
type bool = boolean & { readonly [tag]?: 'bool' };관련 가이드
소스
src/runtime/host-types.ts, 55행, 커밋 af54ddad5 기준