Checks if test is Promise.
test
isPromise({}); //=> false isPromise(Promise.resolve()); //=> true
The value to check.
Returns true if test is Promise, else false.
true
false
Generated using TypeDoc
Checks if
test
is Promise.