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