---
title: "bool: TypeShade 셰이더 API의 런타임 분류 타입 참조 문서"
description: "bool, TypeShade API의 런타임 분류에 속하는 타입입니다. 호스트 값으로서의 bool입니다. 불리언이며, 숫자 타입처럼 자기 이름을 가집니다."
url: https://typeshade.dev/ko/api/bool-type/
language: ko
---

# `bool`

타입, 런타임 분류

호스트 값으로서의 bool입니다. 불리언이며, 숫자 타입처럼 자기 이름을 가집니다.

`import type { bool } from 'typeshade/runtime'`

설명은 커밋 af54ddad5의 검토된 컴파일러 문서를 번역한 것입니다. 시그니처와 예제 코드는 원문을 따르며, 필요한 경우 설명에 편집상 수정이 반영됩니다.

## 구문

```ts
type bool = boolean & { readonly [tag]?: 'bool' };
```

## 관련 가이드

- [값과 변경](https://typeshade.dev/ko/guide/internals/values-and-mutation/)
- [제어 흐름](https://typeshade.dev/ko/guide/internals/control-flow/)
- [CPU 오라클 안내서](https://typeshade.dev/ko/guide/internals/the-cpu-oracle/)

## 소스

[`src/runtime/host-types.ts`, 55행](https://github.com/typeshade/typeshade/blob/af54ddad5/src/runtime/host-types.ts#L55), 커밋 af54ddad5 기준
