D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
usr
/
lib
/
node_modules
/
npm
/
node_modules
/
yargs
/
lib
/
Filename :
is-promise.js
back
Copy
module.exports = function isPromise (maybePromise) { return !!maybePromise && !!maybePromise.then && (typeof maybePromise.then === 'function') }