* Checks if `value` is array-like. A value is considered array-like if it's * not a function and has a `value.length` that's an integer greater than or * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`. * * @static * @memberOf _ * @since 4.0.0 * @c
(value)
| 19051 | * // => false |
| 19052 | */ |
| 19053 | function isArrayLike(value) { |
| 19054 | return value != null && isLength(value.length) && !isFunction(value); |
| 19055 | } |
| 19056 | |
| 19057 | /** |
| 19058 | * This method is like `_.isArrayLike` except that it also checks if `value` |
no test coverage detected