NumberBetween
Last updated
Was this helpful?
Last updated
Was this helpful?
NumberBetween<Min, Max, Type>
A type or an instance of between a specified range takes generic type variable and constrained by type as range, and takes generic type variable constrained by generic type as the type.
Min
extends
number
Max
extends
number
Type
extends
AnyNumber
=
number
A generic type variable Min
constrained by the type indicates the minimum range of the generic type variable .
A generic type variable Min
constrained by the type indicates the maximum range of the generic type variable .
A generic type variable Type
constrained by generic type indicates type.