A validator that can validate an array based on the validator given.
The type of the array.
Checks if the array's length is equal or lower than n.
const validator = avery.array(avery.string());const result = validator.validate(['hello', 'world']);console.log(result.isOk()); // Output: true Copy
const validator = avery.array(avery.string());const result = validator.validate(['hello', 'world']);console.log(result.isOk()); // Output: true
A validator that can validate an array based on the validator given.