Skip to content

BooleanConstraints

Defined in: core/build/field/types/Boolean.d.ts:22

Boolean-specific constraints

  • BaseConstraints

optional enum: string[] | boolean[]

Defined in: core/build/field/types/Boolean.d.ts:27

Restrict values to a specified set Can be an array of booleans or strings that parse to booleans


optional required: boolean

Defined in: core/build/field/types/Base.d.ts:51

Indicates if field is allowed to be null/empty

BaseConstraints.required


optional unique: boolean

Defined in: core/build/field/types/Base.d.ts:55

Indicates if values must be unique within the column

BaseConstraints.unique