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

Function TupleWithRest

packages/effect/src/Schema.ts:4579–4584  ·  view source on GitHub ↗
(
  schema: S,
  rest: Rest
)

Source from the content-addressed store, hash-verified

4577 * @since 4.0.0
4578 */
4579export 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

Calls 2

makeFunction · 0.70
mapMethod · 0.45

Tested by

no test coverage detected