mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-02 08:07:50 +00:00
Bump to v4.14.2.
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import getLength from './_getLength.js';
|
||||
import isFunction from './isFunction.js';
|
||||
import isLength from './isLength.js';
|
||||
|
||||
@@ -28,7 +27,7 @@ import isLength from './isLength.js';
|
||||
* // => false
|
||||
*/
|
||||
function isArrayLike(value) {
|
||||
return value != null && isLength(getLength(value)) && !isFunction(value);
|
||||
return value != null && isLength(value.length) && !isFunction(value);
|
||||
}
|
||||
|
||||
export default isArrayLike;
|
||||
|
||||
Reference in New Issue
Block a user