MinMax
MinMax<Min, Max>
MinMax<Min, Max>
A generic type MinMax
that takes generic type variables Min
and Max
represents the range between minimum and maximum.
minmax.interface.ts
Generic type variables
Min
extends
number
Min
extends
number
A generic type variable Min
constrained by the number
type indicates the minimum number.
Max
extends
number
Max
extends
number
A generic type variable Max
constrained by the number
type indicates the maximum number.
Properties
min:
Min
min:
Min
The minimum value of a generic type variable Min
constrained by a number
type.
max:
Max
max:
Max
The maximum value of a generic type variable Max
constrained by a number
type.
Last updated