booleanProp
Creates a boolean property schema.
Param
Default boolean value
Param
Property options
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
defaultValue
boolean
options
Returns
PropertySchema<boolean, "boolean", true>
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
defaultValue
boolean
options?
Returns
PropertySchema<boolean, "boolean", false>