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