Function: boolean()
boolean(options)
boolean(
options: {nullable:true; } &Omit<ScalarOptions<boolean>,"name">):Property<boolean|undefined|null>
Adds a nullable boolean property to the entity and allows for configuration of the property.
Parameters
| Parameter | Type | Description |
|---|---|---|
options | {nullable: true; } & Omit<ScalarOptions<boolean>, "name"> | The options for the property. |
Returns
Property<boolean | undefined | null>
Defined in
packages/verse-core/src/model/builder.ts:691
boolean(options)
boolean(
options?:Omit<ScalarOptions<boolean>,"name">):Property<boolean>
Adds a boolean property to the entity and allows for configuration of the property.
Parameters
| Parameter | Type | Description |
|---|---|---|
options? | Omit<ScalarOptions<boolean>, "name"> | The options for the property. |
Returns
Property<boolean>