ts-fortress
Preparing search index...
array/bounded-length-tuple
boundedLengthTuple
Function boundedLengthTuple
boundedLengthTuple
<
Min
extends
StructuralPrefixLength
,
Max
extends
StructuralPrefixLength
,
A
,
>
(
min
:
Min
,
max
:
Max
,
elementType
:
Type
<
A
>
,
options
?:
Partial
<
Readonly
<
{
defaultValue
:
BoundedLengthTuple
<
Min
,
Max
,
A
>
;
typeName
:
string
}
,
>
,
>
,
)
:
Type
<
BoundedLengthTuple
<
Min
,
Max
,
A
>
>
Type Parameters
Min
extends
StructuralPrefixLength
Max
extends
StructuralPrefixLength
A
Parameters
min
:
Min
max
:
Max
elementType
:
Type
<
A
>
Optional
options
:
Partial
<
Readonly
<
{
defaultValue
:
BoundedLengthTuple
<
Min
,
Max
,
A
>
;
typeName
:
string
}
,
>
,
>
Returns
Type
<
BoundedLengthTuple
<
Min
,
Max
,
A
>
>
boundedLengthTuple
<
Min
extends
StructuralPrefixLength
,
A
>
(
min
:
Min
,
max
:
number
,
elementType
:
Type
<
A
>
,
options
?:
Partial
<
Readonly
<
{
defaultValue
:
readonly
[
MakeTupleImpl
<
A
,
`
${
Min
}
`
,
[
]
>
,
A
]
;
typeName
:
string
;
}
,
>
,
>
,
)
:
Type
<
MinLengthTuple
<
Min
,
A
>
>
Type Parameters
Min
extends
StructuralPrefixLength
A
Parameters
min
:
Min
max
:
number
elementType
:
Type
<
A
>
Optional
options
:
Partial
<
Readonly
<
{
defaultValue
:
readonly
[
MakeTupleImpl
<
A
,
`
${
Min
}
`
,
[
]
>
,
A
]
;
typeName
:
string
;
}
,
>
,
>
Returns
Type
<
MinLengthTuple
<
Min
,
A
>
>
boundedLengthTuple
<
Max
extends
StructuralPrefixLength
,
A
>
(
min
:
number
,
max
:
Max
,
elementType
:
Type
<
A
>
,
options
?:
Partial
<
Readonly
<
{
defaultValue
:
MaxLengthTuple
<
Max
,
A
>
;
typeName
:
string
}
>
,
>
,
)
:
Type
<
MaxLengthTuple
<
Max
,
A
>
>
Type Parameters
Max
extends
StructuralPrefixLength
A
Parameters
min
:
number
max
:
Max
elementType
:
Type
<
A
>
Optional
options
:
Partial
<
Readonly
<
{
defaultValue
:
MaxLengthTuple
<
Max
,
A
>
;
typeName
:
string
}
>
>
Returns
Type
<
MaxLengthTuple
<
Max
,
A
>
>
boundedLengthTuple
<
A
>
(
min
:
number
,
max
:
number
,
elementType
:
Type
<
A
>
,
options
?:
Partial
<
Readonly
<
{
defaultValue
:
readonly
A
[]
;
typeName
:
string
}
>
,
>
,
)
:
Type
<
readonly
A
[]
>
Type Parameters
A
Parameters
min
:
number
max
:
number
elementType
:
Type
<
A
>
Optional
options
:
Partial
<
Readonly
<
{
defaultValue
:
readonly
A
[]
;
typeName
:
string
}
>
>
Returns
Type
<
readonly
A
[]
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
ts-fortress
Loading...