MCPcopy Create free account
hub / github.com/effect-app/libs / mutable

Interface mutable

repos/effect/packages/effect/src/Schema.ts:4608–4629  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 */
4628export interface NonEmptyArray<S extends Constraint> extends
4629 BottomLazy<
4630 SchemaAST.Arrays,
4631 NonEmptyArray<S>
4632 >

Callers 1

Cosmos.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…