• Converts a boolean to BooleanCV clarity type

    Returns

    returns instance of type BooleanCV

    Example

     import { boolCV } from '@stacks/transactions';

    const boolCV = boolCV(false);
    // { type: 4 }

    See

    clarity test cases for more examples

    Parameters

    • bool: boolean

    Returns BooleanCV

Generated using TypeDoc