bool
Last updated
Was this helpful?
Creates a Clarity bool type, represented as a JS object. Alias for boolCV.
import { Cl } from '@stacks/transactions';
Cl.bool(true); // { type: 'bool', value: true }
Cl.bool(false); // { type: 'bool', value: false }const bool: (value: boolean) => BooleanCV;BooleanCV
A Clarity boolean value object (TrueCV or FalseCV).
Type: boolean
The boolean value to wrap.
Last updated
Was this helpful?
Was this helpful?