setup-maven-cached/node_modules/underscore/cjs/_isArrayLike.js
2022-06-28 10:39:30 +02:00

11 lines
466 B
JavaScript

var _createSizePropertyCheck = require('./_createSizePropertyCheck.js');
var _getLength = require('./_getLength.js');
// Internal helper for collection methods to determine whether a collection
// should be iterated as an array or as an object.
// Related: https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength
// Avoids a very nasty iOS 8 JIT bug on ARM-64. #2094
var isArrayLike = _createSizePropertyCheck(_getLength);
module.exports = isArrayLike;