diff options
Diffstat (limited to 'node_modules/p-is-promise/index.js')
-rw-r--r-- | node_modules/p-is-promise/index.js | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/node_modules/p-is-promise/index.js b/node_modules/p-is-promise/index.js deleted file mode 100644 index 389d38fc5..000000000 --- a/node_modules/p-is-promise/index.js +++ /dev/null @@ -1,15 +0,0 @@ -'use strict'; - -const isPromise = input => ( - input instanceof Promise || - ( - input !== null && - typeof input === 'object' && - typeof input.then === 'function' && - typeof input.catch === 'function' - ) -); - -module.exports = isPromise; -// TODO: Remove this for the next major release -module.exports.default = isPromise; |