| 4565 | * Extends a fixed-length tuple schema with a variadic rest segment. |
| 4566 | * |
| 4567 | * **Details** |
| 4568 | * |
| 4569 | * The resulting tuple starts with the fixed elements from `schema`. The first |
| 4570 | * schema in `rest` is the repeatable element schema, and any additional schemas |
| 4571 | * in `rest` are required trailing tuple elements after the variadic segment. For |
| 4572 | * example, `[Schema.Boolean, Schema.String]` represents zero or more booleans |
| 4573 | * followed by a final string. |
| 4574 | * |
| 4575 | * **Example** (Defining tuples with rest elements) |
| 4576 | * |
| 4577 | * ```ts import.meta.vitest |
| 4578 | * import { Schema } from "effect" |