method typesCodec.bool.prototype.toJSONimport { typesCodec } from "https://dotland.deno.dev/x/polkadot@0.2.38/mod.ts"; const { bool } = typesCodec; toJSON(): booleanReturnsboolean