Calculates the minimum value within a union of non-negative integer literals N (which must extend Uint10).
N
Uint10
A union of non-negative integer literals up to 1023 (Uint10).
The smallest integer literal present in the union N.
type U = 2 | 5 | 1;expectType<Min<U>, 1>('=');expectType<Min<5>, 5>('=');expectType<Min<0 | 10>, 0>('=');expectType<Min<1000 | 1023>, 1000>('='); Copy
type U = 2 | 5 | 1;expectType<Min<U>, 1>('=');expectType<Min<5>, 5>('=');expectType<Min<0 | 10>, 0>('=');expectType<Min<1000 | 1023>, 1000>('=');
Calculates the minimum value within a union of non-negative integer literals
N(which must extendUint10).