zeed
Preparing search index...
tuple
Function tuple
tuple
<
const
T
extends
readonly
Type
<
unknown
>
[]
>
(
items
:
T
)
:
Type
<
TypeTuple
<
T
>
>
Creates a tuple type validator with fixed length and types e.g. [string, number, boolean]
Type Parameters
const
T
extends
readonly
Type
<
unknown
>
[]
Parameters
items
:
T
Returns
Type
<
TypeTuple
<
T
>
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
zeed
Loading...
Creates a tuple type validator with fixed length and types e.g. [string, number, boolean]