3 lines
96 B
JavaScript
3 lines
96 B
JavaScript
module.exports = function isPromise (maybePromise) {
|
|
return maybePromise instanceof Promise
|
|
}
|