method Compact.prototype.toPrimitiveimport { Compact } from "https://dotland.deno.dev/x/polkadot@0.2.38/types-codec/mod.ts"; toPrimitive(): string | numberReturnsstring | number