PokéRogue
    Preparing search index...

    Type Alias GetEnumStrOptions<Val, X>

    GetEnumStrOptions: { excludeValues?: X } & GetEnumStrKeyOptions & (
        [Val] extends [string]
            ? unknown
            : [X] extends [true] ? unknown : GetEnumStrValueOptions
    )

    Options type for getEnumStr and company.

    Selectively includes properties based on the type of Val

    Type Parameters

    • Val extends string | number = string | number
    • X extends boolean = boolean

    Type Declaration

    • OptionalexcludeValues?: X

      Whether to omit the enum members' values from the output.

      Whether Val is a string