Converts a byte array to a boolean value.
import { bytesToBool } from "thirdweb/utils";const bytes = new Uint8Array([1]);const bool = bytesToBool(bytes);console.log(bool); // true
function bytesToBool( bytes_: Uint8Array<ArrayBufferLike>, opts: Options,): boolean;
The byte array to convert.
let bytes_: Uint8Array<ArrayBufferLike>;
Optional parameters for the conversion.
let opts: Options;
let returnType: boolean;
The boolean value converted from the byte array.