MCPcopy Create free account
hub / github.com/DanWahlin/CustomerManagerStandard / __arrayFirst

Function __arrayFirst

CustomerManager/Scripts/breeze.debug.js:298–305  ·  view source on GitHub ↗
(array, predicate)

Source from the content-addressed store, hash-verified

296
297
298 function __arrayFirst(array, predicate) {
299 for (var i = 0, j = array.length; i < j; i++) {
300 if (predicate(array[i])) {
301 return array[i];
302 }
303 }
304 return null;
305 }
306
307 function __arrayIndexOf(array, predicate) {
308 for (var i = 0, j = array.length; i < j; i++) {

Callers 4

breeze.debug.jsFile · 0.85
parseCsdlNavPropertyFunction · 0.85
isIdentityPropertyFunction · 0.85
getAssociationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected