allInvalid() function
Returns all validator entries of a validation result with the isValid
property equal to false.
Syntax
allInvalid(validationResult)
Parameters
validationResult
A validation result object.
Return value
An array of key-value pairs. Each key-value pair is an array with a validatable object as the first element and a validator as the second.
Description
Returns all validator entries of the passed in validation result that are being in the “invalid” state. When all validators are in the “valid” state, returns an empty array.
Implementation: all-invalid.js.