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