Function
tuple
(
elements: Elements,
checks: Checks | undefined = undefined
)
Source from the content-addressed store, hash-verified
| 2460 | |
| 2461 | /** @internal */ |
| 2462 | export 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 */ |
| 2470 | export function union<Members extends ReadonlyArray<{ readonly ast: AST }>>( |
Callers
nothing calls this directly
Tested by
no test coverage detected