lib/object-tools.js
function every (object, iterator) {
  var result = true
  for (var prop in object) {
    result = result && iterator(object[prop], prop)
  }
  return result
}
function every (object, iterator) {
  var result = true
  for (var prop in object) {
    result = result && iterator(object[prop], prop)
  }
  return result
}
function every ( object , iterator ) { var result = true for ( var prop in object ) { result = result && iterator ( object [ prop ] , prop ) } return result }
Returns true if the supplied iterator function returns true for every property in the object
@param {object} - the object to inspect
@param {Function} - the iterator function to run against each key/value pair, the args are `(value, key)`.
@returns {boolean}
@static
@example
> function aboveTen(input){ return input > 10; }
> o.every({ eggs: 12, carrots: 30, peas: 100 }, aboveTen)
true
> o.every({ eggs: 6, carrots: 30, peas: 100 }, aboveTen)
false
Returns true if the supplied iterator function returns true for every property in the object