Checks that assertion passes for each element of the tuple.
const position = tuple([number, number]);position(1); // Error: isArrayposition([1, "2"]) // Error: typeposition([1, 2]) // passes Copy
const position = tuple([number, number]);position(1); // Error: isArrayposition([1, "2"]) // Error: typeposition([1, 2]) // passes
Tuple schema to be checked.
Checks that assertion passes for each element of the tuple.
Example