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

x/polkadot/mod.ts>typesCodec.Null#toU8a

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

Parameters

optional
isBare: boolean

true when the value has none of the type-specific prefixes (internal)

Returns

Uint8Array