Function matchPropertyKeyIn

  • Given an array of PropertyKeys, returns a Type Guard that checks if the given value is strictly equal to any of the given PropertyKeys.

    Type Parameters

    • Arr extends readonly PropertyKey[]

    Parameters

    • arr: readonly [Arr]

    Returns MatchInFn<PropertyKey, Arr>

Generated using TypeDoc