setup-maven-cached/node_modules/underscore/modules/_isArrayLike.js

9 lines
422 B
JavaScript
Raw Permalink Normal View History

2022-06-28 16:39:30 +08:00
import createSizePropertyCheck from './_createSizePropertyCheck.js';
import getLength from './_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
export default createSizePropertyCheck(getLength);