massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / core-js / internals / is-object.js
index dda6e04d273016597de054ee02e13b731b25d86c..161175a731368b456101cb7c18d4df4057174295 100644 (file)
@@ -1,3 +1,5 @@
+var isCallable = require('../internals/is-callable');
+
 module.exports = function (it) {
-  return typeof it === 'object' ? it !== null : typeof it === 'function';
+  return typeof it == 'object' ? it !== null : isCallable(it);
 };