• Converts a boolean to BooleanCV clarity type

    Parameters

    • bool: boolean

    Returns BooleanCV

    returns instance of type BooleanCV

    Example

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

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

    See

    clarity test cases for more examples

Generated using TypeDoc