Détail du package

lie-any

calvinmetcalf7MIT0.1.2

any lie will do

lie, promise, async

readme

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