• Verifies that obj' is a string that, when converted to uppercase, matches a string property of enumType`.

    Returns

    The corresponding numerical value.

    Type Parameters

    • T extends number

    Parameters

    • obj: any
    • enumType: {
          [x: string]: T | string;
      }
      • [x: string]: T | string

    Returns T

Generated using TypeDoc