install-nix-action/node_modules/yargs/lib/is-promise.js
Domen Kožar 49df04613e
v7
2020-02-24 13:29:22 +01:00

3 lines
96 B
JavaScript

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