---
title: "vec4b: type in Runtime, TypeShade API reference"
description: "vec4b, a type in Runtime. A vec4b as a host value: a readonly tuple of four bool."
url: https://typeshade.dev/api/vec4b/
language: en
---

# `vec4b`

Type in Runtime

A `vec4b` as a host value: a readonly tuple of four bool.

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

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

## Syntax

```ts
type vec4b = readonly [bool, bool, bool, bool];
```

## Source

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