numberProp
Creates a number property schema.
Param
Default value when not specified
Param
Property options
Call Signature
numberProp(
defaultValue,options):PropertySchema<number,"number",true>
Defined in: packages/sigma/src/primitives/schema.ts:116
Creates a number property schema with variable support.
Parameters
defaultValue
number
options
Returns
PropertySchema<number, "number", true>
Call Signature
numberProp(
defaultValue,options?):PropertySchema<number,"number",false>
Defined in: packages/sigma/src/primitives/schema.ts:125
Creates a number property schema without variable support.
Parameters
defaultValue
number
options?
Returns
PropertySchema<number, "number", false>