Function matchNumbers

  • Given numbers as arguments, returns a Type Guard that checks if the given value is strictly equal to one of the given primitives.

    Type Parameters

    • Args extends readonly number[]

    Parameters

    • Rest ...args: readonly [Args]

    Returns MatchInFn<number, Args>

Generated using TypeDoc