MCPcopy Index your code
hub / github.com/PaulTaykalo/objc-dependency-visualizer / isArrayLike

Function isArrayLike

Scripts/ace/worker-javascript.js:1448–1451  ·  view source on GitHub ↗
(collection)

Source from the content-addressed store, hash-verified

1446 };
1447 var MAX_ARRAY_INDEX = Math.pow(2, 53) - 1;
1448 var isArrayLike = function(collection) {
1449 var length = collection && collection.length;
1450 return typeof length == 'number' && length >= 0 && length <= MAX_ARRAY_INDEX;
1451 };
1452 _.each = _.forEach = function(obj, iteratee, context) {
1453 iteratee = optimizeCb(iteratee, context);
1454 var i, length;

Callers 3

createReduceFunction · 0.85
flattenFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected