atcheck/lsscanner/new_ubuntu/node_modules/yargs/lib/is-promise.js

4 lines
96 B
JavaScript

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