• Returns an enum entry by its name, case-insensitive.

    Returns

    The enum entry, if found; otherwise undefined.

    Type Parameters

    • E

    • K extends string

    Parameters

    • enumObject: Record<K, E>

      The full enumeration. EG: ItemType, CreatureType, DoodadType, etc

    • name: K

      The name of the enum entry. Case-insensitive.

    Returns E

Generated using TypeDoc