stringProp
Creates a string property schema.
defaultValue
Default string value
options
Property options
Call Signature
Section titled “Call Signature”stringProp(
defaultValue,options):PropertySchema<string,"string",true>
Defined in: packages/sigma/src/primitives/schema.ts:189
Creates a string property schema with variable support.
Parameters
Section titled “Parameters”defaultValue
Section titled “defaultValue”string
options
Section titled “options”Returns
Section titled “Returns”PropertySchema<string, "string", true>
Call Signature
Section titled “Call Signature”stringProp(
defaultValue,options?):PropertySchema<string,"string",false>
Defined in: packages/sigma/src/primitives/schema.ts:198
Creates a string property schema without variable support.
Parameters
Section titled “Parameters”defaultValue
Section titled “defaultValue”string
options?
Section titled “options?”Returns
Section titled “Returns”PropertySchema<string, "string", false>