| 4606 | * **Example** (Defining an array of strings) |
| 4607 | * |
| 4608 | * ```ts import.meta.vitest |
| 4609 | * import { Schema } from "effect" |
| 4610 | * |
| 4611 | * const schema = Schema.Array(Schema.String) |
| 4612 | * |
| 4613 | * Schema.decodeUnknownSync(schema)(["a", "b", "c"]) // => ["a", "b", "c"] |
| 4614 | * ``` |
| 4615 | * |
| 4616 | * @category constructors |
| 4617 | * @since 4.0.0 |
| 4618 | */ |
| 4619 | ArraySchema as Array |
| 4620 | } |
| 4621 | |
| 4622 | /** |
| 4623 | * Type-level representation returned by {@link NonEmptyArray}. |
| 4624 | * |
| 4625 | * @category models |
| 4626 | * @since 3.10.0 |
| 4627 | */ |
| 4628 | export interface NonEmptyArray<S extends Constraint> extends |
| 4629 | BottomLazy< |
| 4630 | SchemaAST.Arrays, |
| 4631 | NonEmptyArray<S> |
| 4632 | > |
no outgoing calls
no test coverage detected
searching dependent graphs…