Library API
    Preparing search index...

    Interface IgnoreOfMap

    Augmentable map of method/property names to exclude from KeyOf/ValueOf/OwnOf

    interface IgnoreOfMap {
        "[iterator]": () => IterableIterator<readonly [PropertyKey, any]>;
        "[toStringTag]": "Enumify";
        count(): number;
        entries(): readonly (readonly [PropertyKey, any])[];
        extend<const E extends any[] | Property<any>>(
            list: E,
            frozen?: boolean,
        ): EnumifyType<any>;
        filter(
            fn: (
                entry: readonly [PropertyKey, any],
                index: number,
                enumify: EnumifyType<any>,
            ) => boolean,
            thisArg?: any,
        ): EnumifyType<Partial<any>>;
        forEach(
            fn: (
                entry: readonly [PropertyKey, any],
                index: number,
                enumify: EnumifyType<any>,
            ) => void,
            thisArg?: any,
        ): void;
        get(key: PropertyKey): any;
        has(key: LooseKey<PropertyKey>): boolean;
        hasOwn(key: PropertyKey): boolean;
        includes(search: any): boolean;
        invert(): Readonly<Invert<T>>;
        keyOf(search: any): PropertyKey;
        keys(): readonly PropertyKey[];
        map(
            fn: (
                entry: readonly [PropertyKey, any],
                index: number,
                enumify: EnumifyType<any>,
            ) => any,
            thisArg?: any,
        ): EnumifyType<Property<any>>;
        values(): readonly any[];
    }

    Hierarchy (View Summary)

    Index
    "[iterator]": () => IterableIterator<readonly [PropertyKey, any]>

    iterate through all Enum entries

    "[toStringTag]": "Enumify"

    used to identify the Enumify type

    • Returns number

      Use Enum.count(enumObj) instead. Prototype methods will be removed in v5.0.0.

    • Returns readonly (readonly [PropertyKey, any])[]

      Use Enum.entries(enumObj) instead. Prototype methods will be removed in v5.0.0.

    • Type Parameters

      Parameters

      • list: E
      • Optionalfrozen: boolean

      Returns EnumifyType<any>

      Use Enum.extend(enumObj, list) instead. Prototype methods will be removed in v5.0.0.

    • Parameters

      • fn: (
            entry: readonly [PropertyKey, any],
            index: number,
            enumify: EnumifyType<any>,
        ) => boolean
      • OptionalthisArg: any

      Returns EnumifyType<Partial<any>>

      Filter over Enum.entries(enumObj) instead. Prototype methods will be removed in v5.0.0.

    • Parameters

      • fn: (
            entry: readonly [PropertyKey, any],
            index: number,
            enumify: EnumifyType<any>,
        ) => void
      • OptionalthisArg: any

      Returns void

      Iterate over Enum.entries(enumObj) instead. Prototype methods will be removed in v5.0.0.

    • Parameters

      • key: PropertyKey

      Returns any

      Use Enum.get(enumObj, key) instead. Prototype methods will be removed in v5.0.0.

    • Parameters

      Returns boolean

      Use Enum.has(enumObj, key) instead. Prototype methods will be removed in v5.0.0.

    • Parameters

      • key: PropertyKey

      Returns boolean

      Use Enum.hasOwn(enumObj, key) instead. Prototype methods will be removed in v5.0.0.

    • Parameters

      • search: any

      Returns boolean

      Use Enum.includes(enumObj, search) instead. Prototype methods will be removed in v5.0.0.

    • Returns Readonly<Invert<T>>

      Use Enum.invert(enumObj) instead. Prototype methods will be removed in v5.0.0.

    • Parameters

      • search: any

      Returns PropertyKey

      Use Enum.keyOf(enumObj, search) instead. Prototype methods will be removed in v5.0.0.

    • Returns readonly PropertyKey[]

      Use Enum.keys(enumObj) instead. Prototype methods will be removed in v5.0.0.

    • Parameters

      • fn: (
            entry: readonly [PropertyKey, any],
            index: number,
            enumify: EnumifyType<any>,
        ) => any
      • OptionalthisArg: any

      Returns EnumifyType<Property<any>>

      Map over Enum.entries(enumObj) instead. Prototype methods will be removed in v5.0.0.

    • Returns readonly any[]

      Use Enum.values(enumObj) instead. Prototype methods will be removed in v5.0.0.