Skip to content

Function: Tuple()

Tuple<T>(items, options?): TTuple<T>

[Json] Creates a Tuple type

Type Parameters

Type Parameter
T extends TSchema[]

Parameters

ParameterType
items[...T[]]
options?SchemaOptions

Returns

TTuple<T>

Defined in

node_modules/@sinclair/typebox/build/cjs/type/tuple/tuple.d.ts:15

Released under the MIT License.