class Enum
implements IEnum
import { Enum } from "https://deno.land/x/polkadot@0.2.28/types-codec/base/Enum.ts";
Constructors
new
Enum(registry: Registry,
Types: Record<string, string | CodecClass> | Record<string, number> | string[],
value?: unknown,
index?: number,
unnamed 4?: Options,
Properties
Static Methods
with(Types: Record<string, string | CodecClass> | Record<string, number> | string[]): EnumCodecClass<Enum>