src/index.js
function _eachProperty(obj, fn) {
  let ret = true
  for (const prop in obj) {
    if (obj.hasOwnProperty(prop)) {
      ret = fn(obj[prop], prop, obj)
      if (ret === false) {
        break
      }
    }
  }
  return ret
}
function _eachProperty(obj, fn) {
  let ret = true
  for (const prop in obj) {
    if (obj.hasOwnProperty(prop)) {
      ret = fn(obj[prop], prop, obj)
      if (ret === false) {
        break
      }
    }
  }
  return ret
}
function _eachProperty ( obj , fn ) { let ret = true for ( const prop in obj ) { if ( obj . hasOwnProperty ( prop ) ) { ret = fn ( obj [ prop ] , prop , obj ) if ( ret === false ) { break } } } return ret }
Iterates through each property and calls the callback
if the object hasOwnProperty.
@param {object} obj
@param {Function} fn
@returns {boolean}
@private
Iterates through each property and calls the callback if the object hasOwnProperty .