---
title: "boolT: constant in Types, TypeShade API reference"
description: "boolT, a constant in Types. The bool scalar type: the type of every comparison and logical (.and, .or) result…"
url: https://typeshade.dev/api/boolt/
language: en
---

# `boolT`

Constant in Types

The bool scalar type: the type of every comparison and logical (.and, .or) result, the required return type of a boolean-returning fn, and the type an If(/api/if/) condition is checked against when the authoring code runs.

`import { boolT } from 'typeshade/core/ir'`

The signature, the description and the examples come from the compiler's own source at commit af54ddad5.

## Syntax

```ts
const boolT: { readonly kind: "scalar"; readonly scalar: "bool"; }
```

## See also

- [`If`](https://typeshade.dev/api/if/)

## Source

[`src/core/ir/types/scalar-types.ts`, line 33](https://github.com/typeshade/typeshade/blob/af54ddad5/src/core/ir/types/scalar-types.ts#L33), at commit af54ddad5
