Current Path : /opt/alt/alt-nodejs12/root/lib/node_modules/npm/node_modules/yargs/lib/ |
Current File : //opt/alt/alt-nodejs12/root/lib/node_modules/npm/node_modules/yargs/lib/is-promise.js |
module.exports = function isPromise (maybePromise) { return !!maybePromise && !!maybePromise.then && (typeof maybePromise.then === 'function') }