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

Function Tuple

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

Source from the content-addressed store, hash-verified

4397 * @since 3.10.0
4398 */
4399export function Tuple<const Elements extends ReadonlyArray<Constraint>>(elements: Elements): Tuple<Elements> {
4400 return makeTuple(SchemaAST.tuple(elements), elements)
4401}
4402
4403/**
4404 * Namespace for `TupleWithRest` type utilities.

Callers 3

ReadonlyMapFunction · 0.70
HashMapFunction · 0.70
Schema.tsFile · 0.70

Calls 1

makeTupleFunction · 0.85

Tested by

no test coverage detected