Function matchNumberIn

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

    Type Parameters

    • Arr extends readonly number[]

    Parameters

    • arr: readonly [Arr]

    Returns MatchInFn<number, Arr>

Generated using TypeDoc