Function valueIsSpecificKey

  • Checks whether a given value is contained in a certain of an enumerator.

    Type Parameters

    • T

    Parameters

    • enumerator: Enumerator<T, any>

      The enum.

    • key: keyof T

      The key that should check if the value is contained into.

    • value: any

      The value to perform the checks.

    Returns value is keyof T

Generated using TypeDoc