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