MCPcopy Create free account
hub / github.com/Effect-TS/effect / Tuple

Function Tuple

packages/effect/src/Schema.ts:4486–4488  ·  view source on GitHub ↗
(elements: Elements)

Source from the content-addressed store, hash-verified

4484 * @since 3.10.0
4485 */
4486export function Tuple<const Elements extends ReadonlyArray<Constraint>>(elements: Elements): Tuple<Elements> {
4487 return makeTuple(SchemaAST.tuple(elements), elements)
4488}
4489/**
4490 * Namespace for `TupleWithRest` type utilities.
4491 *

Callers 5

ArrayEnsureFunction · 0.70
ReadonlyMapFunction · 0.70
Schema.tsFile · 0.70
graphToArbitraryFunction · 0.70
HashMapFunction · 0.70

Calls 1

makeTupleFunction · 0.85

Tested by

no test coverage detected