boolT
On this page

boolT

Constant in Types

The bool scalar type: the type of every comparison and logical (.and, .or) result, the required return type of a boolean-returning fn, and the type an If(/api/if/) condition is checked against when the authoring code runs.

import { boolT } from 'typeshade/core/ir'

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

Syntax

const boolT: { readonly kind: "scalar"; readonly scalar: "bool"; }

See also

Source

src/core/ir/types/scalar-types.ts, line 33, at commit af54ddad5

Edit this page Report a problem