> 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/pick-types.md).

# \_.pickTypes

Returns one or more new objects with keys that only contain values ​​of defined types

### \_.pickTypes(types, objects)

> **Parameters:**

* **types \[string or array of strings]**: <mark style="color:yellow;">`the types to be pick`</mark>
* **objects \[object or array of objects]:** <mark style="color:yellow;">`the objects that will have their values picked`</mark>

> **Example**:

```javascript
_.pickTypes('number', {name: 'drezzy', age: 17, birthday: 11})
// => { age: 17, birthday: 11}  
```
