src/validation/index.js
function isFormValid ( formErrors ) {
        return t.reduce(function ( acc, v, k ) {
            return acc && !(v && v.length);
        }, true, formErrors );
    }
function isFormValid ( formErrors ) {
        return t.reduce(function ( acc, v, k ) {
            return acc && !(v && v.length);
        }, true, formErrors );
    }
function isFormValid ( formErrors ) { return t . reduce ( function ( acc , v , k ) { return acc && ! ( v && v . length ) ; } , true , formErrors ) ; }
Accepts result of `validateForm` and returns true
if `formErrors` contains only null-values.
@param {Object} formErrors - {
%fieldID%: [ %failed_validators% ],
...
}
@returns {Boolean}
Accepts result of validateForm and returns true if formErrors contains only null - values .