Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/polkadot/mod.ts>typesCodec.bool#toPrimitive

Package publishing for deno.land/x/polkadot
Go to Latest
method typesCodec.bool.prototype.toPrimitive
import { typesCodec } from "https://deno.land/x/polkadot@0.2.27/mod.ts";
const { bool } = typesCodec;

Returns

boolean