isArrayLikeObject

最后更新于:2022-04-02 00:02:07

## isArrayLikeObject + [link](./isArrayLikeObject "Link to this entry.") + [source](https://github.com/lodash/lodash/blob/4.5.0正式版/lodash.src.js#L9577 "View in source.") + [npm](https://www.npmjs.com/package/lodash.isarraylikeobject "See the npm package.") ``` _.isArrayLikeObject(value) ``` 这个方法类似 `_.isArrayLike`,除了它还检查值是否是个对象。 ### 参数 1. value (\*) 要检查的值 ### 返回值 (boolean) 如果是类数组对象,返回 `true`,否则返回 `false` ### 示例 ``` _.isArrayLikeObject([1, 2, 3]); // => true _.isArrayLikeObject(document.body.children); // => true _.isArrayLikeObject('abc'); // => false _.isArrayLikeObject(_.noop); // => false ```
';