API reference › @evolu/common › Type › ArrayFromParentOperations

Defined in: packages/common/src/Type.ts:12957

The .parent suffixes of an ArrayType from operation.

Each .parent accepts an array of the next element Output toward the root and returns the element errors of every boundary it adds.

Properties

parent

readonly parent: (value: readonly Boundary["Output"][], options?: ValidationOptions) => Result<readonly Output[], ArrayElementsError<Error>> & [Boundary["parent"]] extends [Parent] ? ArrayFromParentOperations<Output, Error | Boundary["Error"], Parent> : unknown;

Defined in: packages/common/src/Type.ts:12962