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