> For the complete documentation index, see [llms.txt](https://openai.gitbook.io/code-cheatsheets/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://openai.gitbook.io/code-cheatsheets/js/packages/lodash.md).

# Lodash

```javascript
import _ from 'lodash';
```

* .isEmpty(x) => works for object, collection, map, or set.
* .isEqual(a, b).=> does deep compare between everything from arrays and objects to strings
