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: Options): boolean;
The hexadecimal string to convert.
let hex: `0x${string}`;
Optional options for the conversion.
let opts: Options;
let returnType: boolean;
The boolean value corresponding to the hexadecimal string.