---
title: "vec2bT: constant in Types, TypeShade API reference"
description: "vec2bT, a constant in Types. vec2<bool>: what a comparison of two vec2 values yields, componentwise."
url: https://typeshade.dev/api/vec2bt/
language: en
---

# `vec2bT`

Constant in Types

`vec2<bool>`: what a comparison of two `vec2` values yields, componentwise.

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

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

## Syntax

```ts
const vec2bT: { readonly kind: "vec"; readonly n: 2; readonly elem: "bool"; }
```

## Description

`any`, `all` and a componentwise `select` take it. Not host-shareable.

## Source

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