MCPcopy Create free account
hub / github.com/evildecay/etcdkeeper / arraySome

Function arraySome

assets/etcdkeeper/framework/ace/worker-javascript.js:2004–2014  ·  view source on GitHub ↗
(array, predicate)

Source from the content-addressed store, hash-verified

2002 }
2003
2004 function arraySome(array, predicate) {
2005 var index = -1,
2006 length = array.length;
2007
2008 while (++index < length) {
2009 if (predicate(array[index], index, array)) {
2010 return true;
2011 }
2012 }
2013 return false;
2014 }
2015
2016 function assignWith(object, source, customizer) {
2017 var props = keys(source);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected