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