Subtract
@typehero
Last updated 3 months ago
EXTREME
Implement the type Subtraction that is -
in Javascript by using BuildTuple.
If the minuend is less than the subtrahend, it should be never
.
It's a simple version.
For example
Subtract<2, 1> // expect to be 1 Subtract<1, 2> // expect to be never
This challenge was ported from Type Challenges and was authored by LoTwT
More Challenges
Loading...
Loading...