some deletions
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / p-is-promise / index.js
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/p-is-promise/index.js b/.config/coc/extensions/node_modules/coc-prettier/node_modules/p-is-promise/index.js
deleted file mode 100644 (file)
index 389d38f..0000000
+++ /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;