massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / core-js / internals / is-callable.js
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/core-js/internals/is-callable.js b/.config/coc/extensions/node_modules/coc-prettier/node_modules/core-js/internals/is-callable.js
new file mode 100644 (file)
index 0000000..9c26a5b
--- /dev/null
@@ -0,0 +1,5 @@
+// `IsCallable` abstract operation
+// https://tc39.es/ecma262/#sec-iscallable
+module.exports = function (argument) {
+  return typeof argument == 'function';
+};