Function findCaseInsensitiveValueInStringEnum

  • Finds a case-insensitive value in a string enum.

    Type Parameters

    • T extends object

      The type of the enum.

    Parameters

    • value: string

      The value to search for.

    • enumType: T

      The enum to search in.

    Returns string | undefined

    • The matching value, or undefined if not found.

Generated using TypeDoc v0.25.12