Converts a hexadecimal string to a boolean value.
import { hexToBool } from "thirdweb/utils";const bool = hexToBool("0x01");console.log(bool); // true
function hexToBool(hex: `0x${string}`, opts: HexToBoolOpts): boolean;
The hexadecimal string to convert.
let hex: `0x${string}`;
Optional options for the conversion.
let opts: { size?: number };
let returnType: boolean;
The boolean value corresponding to the hexadecimal string.