Merge an array of validated results using a logical AND
The validated type
The validated results to merge
all(["1", 2, "3"].map(isNumber)) >> { valid: false, error: ['Not a number: "1"', 'Not a number: "3"'], }; Copy
all(["1", 2, "3"].map(isNumber)) >> { valid: false, error: ['Not a number: "1"', 'Not a number: "3"'], };
Merge an array of validated results using a logical AND