bool
Call Signature
Section titled “Call Signature”bool():
Column<"bool",false,false,false>
Defined in: src/schema/values.ts:66
A bool column, indexed for equality once .indexed().
Returns
Section titled “Returns”Column<"bool", false, false, false>
Call Signature
Section titled “Call Signature”bool(
value):BoolValue
Defined in: src/schema/values.ts:76
A boolean.
This is the default type for a bare boolean, so { flagged: true } and
{ flagged: bool(true) } are the same value.
Parameters
Section titled “Parameters”boolean
Returns
Section titled “Returns”Example
Section titled “Example”bool(true) // { type: "bool", value: true }