js filter()


### filter falsy valeus
```typearray.filter(Boolean)```
### filter by item property
```typeif (vendors.filter(e => e.Name === 'Magenic').length > 0)```


### array filter
> [Array.prototype.filter()](https://developer.mozilla.org/ko/docs/Web/JavaScript/Reference/Global_Objects/Array/filter)

> [How to determine if Javascript array contains an object with an attribute that equals a given value?](https://stackoverflow.com/questions/8217419/how-to-determine-if-javascript-array-contains-an-object-with-an-attribute-that-e)





