node package manager
Easy sharing. Manage teams and permissions with one click. Create a free org »

lie-any

lie-any

API

npm install lie-any
var any = require('lie-any');

any

any(array[, function])

Applies the function the the array of promies or values (or mix) and returns true if at least one value is truthy.

It is lazy and will resolve as soon as one value returns true, if the function is omited then it tests the truthiness of the array.

License

MIT