setup-php/node_modules/yargs/lib/is-promise.js

4 lines
96 B
JavaScript
Raw Normal View History

2019-09-06 06:47:43 +07:00
module.exports = function isPromise (maybePromise) {
return maybePromise instanceof Promise
}