I agree that we should go with `Array.filter`, but I kind of like the one-liner. Do you like it better like

```javascript
getItems && getItems.filter(filter) || []
```