artdaq_node_server  v1_00_08
 All Classes Namespaces Files Variables Pages
_arraySome.js
1 
11 function arraySome(array, predicate) {
12  var index = -1,
13  length = array == null ? 0 : array.length;
14 
15  while (++index < length) {
16  if (predicate(array[index], index, array)) {
17  return true;
18  }
19  }
20  return false;
21 }
22 
23 module.exports = arraySome;