is-promise.js 96 B

123
  1. module.exports = function isPromise (maybePromise) {
  2. return maybePromise instanceof Promise
  3. }