class Enum
implements IEnum
import { Enum } from "https://dotland.deno.dev/x/polkadot@0.2.38/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?: DefinitionSetter<Definition>,
Properties
Static Methods
with(Types: Record<string, string | CodecClass> | Record<string, number> | string[]): EnumCodecClass<Enum>