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

Function tuple

packages/effect/src/SchemaAST.ts:2462–2467  ·  view source on GitHub ↗
(
  elements: Elements,
  checks: Checks | undefined = undefined
)

Source from the content-addressed store, hash-verified

2460
2461/** @internal */
2462export function tuple<Elements extends Schema.Tuple.Elements>(
2463 elements: Elements,
2464 checks: Checks | undefined = undefined
2465): Arrays {
2466 return new Arrays(false, elements.map((e) => e.ast), [], undefined, checks)
2467}
2468
2469/** @internal */
2470export function union<Members extends ReadonlyArray<{ readonly ast: AST }>>(

Callers

nothing calls this directly

Calls 1

mapMethod · 0.45

Tested by

no test coverage detected