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'
The signature, the description and the examples come from the compiler's own source at commit 26de7be8.
Syntax
const boolT: { readonly kind: "scalar"; readonly scalar: "bool"; }In the guide
See also
Source
src/core/ir/types.ts, line 420, at commit 26de7be8