> For the complete documentation index, see [llms.txt](https://polux.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://polux.gitbook.io/docs/objects/omit.md).

# \_.omit

Returns one or more objects omitting the defined keys

### \_.omit(keys, objects)

> **Parameters:**

* **keys \[string or array of strings]**: <mark style="color:yellow;">`the keys to be omitted`</mark>
* **objects \[object or array of objects]:** <mark style="color:yellow;">`the objects that will have the keys that were defined omitted`</mark>

> **Example**:

```javascript
_.omit('age',[{name: 'drezzy', age: 17},{name: 'kau', age: 16}])
// => [{ name: 'drezzy'}, { name: 'kau'}]  
```
