PokéRogue
    Preparing search index...
    ObjectValues: E[keyof E]

    Utility type to obtain a union of the values of a given object.
    Functions similar to keyof E, except producing the values instead of the keys.

    Type Parameters

    • E extends object

      The type of the object

    This can be used to convert an enum interface produced by typeof Enum into the union type representing its members.