Libraries
    Preparing search index...

    Type Alias TupleSchemaValidationResult<TResult, TElements>

    TupleSchemaValidationResult: ValidationResult<TResult> & {
        getNestedErrors(): TupleElementValidationResults<TElements> & NestedValidationResult<
            any,
            any,
            any,
        >;
    }

    Validation result type returned by TupleSchemaBuilder.validate(). Extends ValidationResult with getNestedErrors for root-level tuple errors and per-position validation results.

    Type Parameters

    • TResult
    • TElements extends readonly SchemaBuilder<any, any, any, any, any>[]

    Type Declaration

    • getNestedErrors: function
      • Returns root-level tuple validation errors combined with per-position validation results. The returned value has both NestedValidationResult properties (errors, isValid, descriptor, seenValue) and indexed position results ([0], [1], etc.).

        Returns TupleElementValidationResults<TElements> & NestedValidationResult<any, any, any>