Function
TupleWithRest
(
schema: S,
rest: Rest
)
Source from the content-addressed store, hash-verified
| 4577 | * @since 4.0.0 |
| 4578 | */ |
| 4579 | export function TupleWithRest<S extends Tuple<Tuple.Elements>, const Rest extends TupleWithRest.Rest>( |
| 4580 | schema: S, |
| 4581 | rest: Rest |
| 4582 | ): TupleWithRest<S, Rest> { |
| 4583 | return make(SchemaAST.tupleWithRest(schema.ast, rest.map(SchemaAST.getAST)), { schema, rest }) |
| 4584 | } |
| 4585 | |
| 4586 | /** |
| 4587 | * Type-level representation returned by {@link Array}. |
Callers
nothing calls this directly
Tested by
no test coverage detected