src/validation/index.js
function checkByAll ( rules, value, fieldMeta ) {
        return (rules || [])
            .map(function ( rule ) { 
                return checkByRule( rule, value, fieldMeta );
            })
            .filter(function ( el ) { return null !== el; });
    }
function checkByAll ( rules, value, fieldMeta ) {
        return (rules || [])
            .map(function ( rule ) { 
                return checkByRule( rule, value, fieldMeta );
            })
            .filter(function ( el ) { return null !== el; });
    }
function checkByAll ( rules , value , fieldMeta ) { return ( rules || [ ] ) . map ( function ( rule ) { return checkByRule ( rule , value , fieldMeta ) ; } ) . filter ( function ( el ) { return null !== el ; } ) ; }
Validates field's value against list of validation rules.
Returs sublist of validation rules that was not sutisfied
by value.
@param {Object[]} rules - list of validation rules.
@param {Object} value - value to validate.
@returns {Object[]}
Validates field s value against list of validation rules . Returs sublist of validation rules that was not sutisfied by value .