---
title: "vec4iT: constant in Types, TypeShade API reference"
description: "vec4iT, a constant in Types. A native vec4<i32>, completing the signed-integer vector family alongside vec2iT."
url: https://typeshade.dev/api/vec4it/
language: en
---

# `vec4iT`

Constant in Types

A native `vec4<i32>`, completing the signed-integer vector family alongside vec2iT.

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

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

## Syntax

```ts
const vec4iT: { readonly kind: "vec"; readonly n: 4; readonly elem: "i32"; }
```

## Description

Use it to type an `fn` parameter, `resource` or struct field declared as `vec4<i32>`; build a value with `construct(vec4iT, [...])` or read one with `.at()` against this type.

## See also

- [`vec2iT`](https://typeshade.dev/api/vec2it/)

## Source

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