$tuple
Callable
Type parameters
Parameters
items: ConstExprTuple<Elements>
The items in the tuple.
options: SchemaOptions<TupleOptions<Rest>, TupleToInfer<Elements>> = {}
Additional options to pass to the tuple.
Returns TupleType<Elements, Rest>
The items in the tuple.
Additional options to pass to the tuple.
Create a new
TupleType
instance with the given options.Example