setup-php/node_modules/yargs/lib/is-promise.js
Shivam Mathur 8f9786b73f init
2019-09-06 05:17:43 +05:30

4 lines
96 B
JavaScript

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