An open API service indexing awesome lists of open source software.

https://github.com/awinterman/node-all

True if all values in an array are truthy
https://github.com/awinterman/node-all

Last synced: 23 days ago
JSON representation

True if all values in an array are truthy

Awesome Lists containing this project

README

          

Check if all values in an array are truthy:

npm install array-all

```
var all = require('array-all')

all([1, 2, 3, 4]) // -> true
all([0, 1, 2, 3]) // -> false
all(['', 'hello', 'woah']) // -> false
all(['what a wonderful life')
```