Skip to content
sigma.js sigma.js
v4.0.6 Docs Examples GitHub 12.2K

booleanProp

Creates a boolean property schema.

defaultValue

Default boolean value

options

Property options

booleanProp(defaultValue, options): PropertySchema<boolean, "boolean", true>

Defined in: packages/sigma/src/primitives/schema.ts:225

Creates a boolean property schema with variable support.

boolean

PropertyOptionsWithVariable

PropertySchema<boolean, "boolean", true>

booleanProp(defaultValue, options?): PropertySchema<boolean, "boolean", false>

Defined in: packages/sigma/src/primitives/schema.ts:234

Creates a boolean property schema without variable support.

boolean

PropertyOptionsNoVariable

PropertySchema<boolean, "boolean", false>