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