Libraries
    Preparing search index...

    Type Alias ElementValidationResult<TElementSchema>

    ElementValidationResult: TElementSchema extends UnionSchemaBuilder<
        infer UOptions extends readonly SchemaBuilder<any, any, any, any, any>[],
        any,
        any,
    >
        ? UnionSchemaValidationResult<InferType<TElementSchema>, UOptions>
        : TElementSchema extends ObjectSchemaBuilder<any, any, any, any, any>
            ? ObjectSchemaValidationResult<
                InferType<TElementSchema>,
                TElementSchema,
            >
            : ValidationResult<InferType<TElementSchema>>

    Maps an element schema type to the appropriate validation result type. Union schema elements get UnionSchemaValidationResult, Object schema elements get ObjectSchemaValidationResult, other types get ValidationResult.

    Type Parameters