I've following array of objects. Each object in the array contain user information.

```
var usersAll = [
  { id: '1', name: 'User 1', selected: true },
  { id: '2', name: 'User 2' },
  { id: '3', name: 'User 3' },
  { id: '4', name: 'User 4' }];

```

I want to extract the users for whom, `selected` is set to `true`.

This is the code I'm using

```
var selectedUsers = _(usersAll)
 .filter(function(u) {
   return u.selected
 })
 .map(function(u) {
   return u.name
 }
 .value()

```

But for some reason it returns this:

> 
> TypeError: \_(...).filter(...).value is not a function
> 
> 
> 

What am I doing wrong?