A function that accepts an array of validation methods and returns their composition.
an arrays of synchronous validation methods to compose.
an object defining options for composition.
if true, returns as soon as the first validation fails. Default true.
true
A function that accepts an array of validation methods and returns their composition.