---
title: "u32T: constant in Types, TypeShade API reference"
description: "u32T, a constant in Types. The u32 scalar type, the DSL's unsigned-integer type: counts, indices…"
url: https://typeshade.dev/api/u32t/
language: en
---

# `u32T`

Constant in Types

The `u32` scalar type, the DSL's unsigned-integer type: counts, indices, and the compute and vertex builtins that are unsigned by spec (builtin; the vector form is builtin).

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

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

## Syntax

```ts
const u32T: { readonly kind: "scalar"; readonly scalar: "u32"; }
```

## Description

Prefer it to [`i32T`](https://typeshade.dev/api/i32t/) whenever the value can never be negative; the type then documents the invariant.

## See also

- [`i32T`](https://typeshade.dev/api/i32t/)

## Source

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