promise-and
The AND (&&) operator for promises
Installation
Install promise-and
using npm:
npm install --save promise-and
Usage
Module usage
var and = ; ;
API
and(...args)
Name | Type | Description |
---|---|---|
...args |
Mixed |
Values to run && between |
Returns: Promise
, which resolves to the first "falsey" value among the arguments.
Related
License
MIT © Joakim Carlstein