bin/index.js
function any(target, fn) {
  var keys = Object.keys(target);
  for(var i = 0, len = keys.length; i < len; i++) {
    var key = keys[i];
    var value = target[key];
    if(fn(value, key)) return true;
  }
  return false;
}
function any(target, fn) {
  var keys = Object.keys(target);
  for(var i = 0, len = keys.length; i < len; i++) {
    var key = keys[i];
    var value = target[key];
    if(fn(value, key)) return true;
  }
  return false;
}
function any ( target , fn ) { var keys = Object . keys ( target ) ; for ( var i = 0 , len = keys . length ; i < len ; i ++ ) { var key = keys [ i ] ; var value = target [ key ] ; if ( fn ( value , key ) ) return true ; } return false ; }
Applies a predicate to collection and returns true if any of the items match
it
Applies a predicate to collection and returns true if any of the items match it