Shorter alias for AbsoluteValue<N>. Calculates the absolute value of a number literal type N.
AbsoluteValue<N>
N
The number literal type.
The absolute value of N as a number literal type.
type Pos = Abs<10>; // 10type Neg = Abs<-5>; // 5 Copy
type Pos = Abs<10>; // 10type Neg = Abs<-5>; // 5
Shorter alias for
AbsoluteValue<N>. Calculates the absolute value of a number literal typeN.