Preparing search index...
The search index is not available
Additional types and utils for TypeScript
type-plus
ArrayPlus
PadStart
Type Alias PadStart<A, MaxLength, PadWith>
Pad
Start
<
A
,
MaxLength
,
PadWith
>
:
MaxLength
extends
0
?
A
:
CanAssign
<
PadWith
,
UnionOfValues
<
A
>
>
extends
true
?
A
:
ArrayPlus
.
PadStart
<
[
...
CreateTuple
<
MaxLength
,
PadWith
>
,
...
A
]
,
MaxLength
,
PadWith
>
Type Parameters
A
extends
readonly
unknown
[]
MaxLength
extends
number
PadWith
=
unknown
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
type-plus - v8.0.0-beta.6
Loading...