doipjs/node_modules/yargs/lib/is-promise.js
Yarmo Mackenbach e996bc8023 Initial commit
2020-10-23 22:35:53 +02:00

3 lines
96 B
JavaScript

module.exports = function isPromise (maybePromise) {
return maybePromise instanceof Promise
}