Remove isFunction use.

This commit is contained in:
John-David Dalton
2017-02-24 23:34:08 -08:00
parent 37f168d466
commit ffcb38f74d
4 changed files with 6 additions and 8 deletions

View File

@@ -1,4 +1,3 @@
import isFunction from './isFunction.js'
import isLength from './isLength.js'
/**
@@ -25,7 +24,7 @@ import isLength from './isLength.js'
* // => false
*/
function isArrayLike(value) {
return value != null && isLength(value.length) && !isFunction(value)
return value != null && typeof value != 'function' && isLength(value.length)
}
export default isArrayLike