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

# `vec2b`

Type in Runtime

A `vec2b` as a host value: a readonly tuple of two bool.

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

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

## Syntax

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

## Source

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