---
title: "i32: type in Runtime, TypeShade API reference for developers"
description: "i32, a type in Runtime. An i32 as a host value: a number, a whole number in the i32 range, which a call checks."
url: https://typeshade.dev/api/i32-type/
language: en
---

# `i32`

Type in Runtime

An `i32` as a host value: a number, a whole number in the `i32` range, which a call checks.

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

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

## Syntax

```ts
type i32 = number & { readonly [tag]?: 'i32' };
```

## In the guide

- [Values and mutation](https://typeshade.dev/guide/internals/values-and-mutation/)
- [Control flow](https://typeshade.dev/guide/internals/control-flow/)
- [Layouts and resources](https://typeshade.dev/guide/internals/layouts-and-resources/)
- [The CPU oracle](https://typeshade.dev/guide/internals/the-cpu-oracle/)
- [fp64](https://typeshade.dev/guide/internals/fp64/)
- [Migrating a GLSL shader](https://typeshade.dev/guide/internals/migrating-a-glsl-shader/)

## Source

[`src/runtime/host-types.ts`, line 49](https://github.com/typeshade/typeshade/blob/af54ddad5/src/runtime/host-types.ts#L49), at commit af54ddad5
