A function which accepts an array of validation methods and returns their composition. Validation runs in series, in the given order.
an arrays of 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 which accepts an array of validation methods and returns their composition. Validation runs in series, in the given order.