(collection)
| 27991 | var MAX_ARRAY_INDEX = Math.pow(2, 53) - 1; |
| 27992 | var getLength = property('length'); |
| 27993 | var isArrayLike = function(collection) { |
| 27994 | var length = getLength(collection); |
| 27995 | return typeof length == 'number' && length >= 0 && length <= MAX_ARRAY_INDEX; |
| 27996 | }; |
| 27997 | |
| 27998 | // Collection Functions |
| 27999 | // -------------------- |
no outgoing calls
no test coverage detected