---
title: "bool: WGSL, GLSL과 TypeShade에서 쓰는 형태와 그 뜻, 셰이더 타입 참조"
description: "TypeShade의 bool 타입은 WGSL과 GLSL ES 3.00 모두에서 bool 형태로 씁니다. Boolean value."
url: https://typeshade.dev/ko/reference/types/bool/
language: ko
---

# `bool`

타입

Boolean value.

시그니처와 이름 아래 문장, 컴파일러 메시지는 커밋 af54ddad5의 컴파일러가 쓴 영어 원문입니다.

## 구문

```ts
type bool = boolean
```

## 예제

- [`gallery/rt-renderer-class/rt-renderer-class.shade.ts`](https://typeshade.dev/ko/guide/examples/rt-renderer-class/)
- [`gallery/closures/closures.shade.ts`](https://typeshade.dev/ko/guide/examples/closures/)
- [`gallery/generic-class/generic-class.shade.ts`](https://typeshade.dev/ko/guide/examples/generic-class/)
- [`gallery/generic-helpers/generic-helpers.shade.ts`](https://typeshade.dev/ko/guide/examples/generic-helpers/)
- [`gallery/inferred-returns/inferred-returns.shade.ts`](https://typeshade.dev/ko/guide/examples/inferred-returns/)
- [`gallery/module-const/module-const.shade.ts`](https://typeshade.dev/ko/guide/examples/module-const/)
- [`gallery/packing-bitcast/packing-bitcast.shade.ts`](https://typeshade.dev/ko/guide/examples/packing-bitcast/)

## 함께 보기

- [타입](https://typeshade.dev/ko/reference/types/)
- [`typeshade/core/ir`의 `bool()`](https://typeshade.dev/ko/api/bool/)
