BooleanField
A boolean variable: true/false, 1/0, yes/no, on/off.
A boolean variable: true/false, 1/0, yes/no, on/off.
Import#
ts
import type { BooleanField } from "@shadow-js/dusk/server";
Signature#
ts
interface BooleanField extends FieldBase {
readonly type: "boolean";
readonly default?: boolean;
}
Members#
| Name | Type | Description |
|---|---|---|
type |
readonly type: "boolean" |
|
default? |
readonly default?: boolean |