Converts a boolean value to a hexadecimal string representation.
import { boolToHex } from "thirdweb/utils";const hex = boolToHex(true);console.log(hex); // "0x01"
function boolToHex(value: boolean, opts: Options): Hex;
The boolean value to convert.
let value: boolean;
Optional options for the conversion.
let opts: Options;
let returnType: ox__Hex.Hex;
The hexadecimal string representation of the boolean value.