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