method Enum.prototype.toNumberimport { Enum } from "https://deno.land/x/polkadot@0.2.24/types/codec/index.ts"; toNumber(): numberReturnsnumber