.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / extend-shallow / node_modules / is-extendable / index.js
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/extend-shallow/node_modules/is-extendable/index.js b/.config/coc/extensions/node_modules/coc-prettier/node_modules/extend-shallow/node_modules/is-extendable/index.js
new file mode 100644 (file)
index 0000000..a8b26ad
--- /dev/null
@@ -0,0 +1,14 @@
+/*!
+ * is-extendable <https://github.com/jonschlinkert/is-extendable>
+ *
+ * Copyright (c) 2015-2017, Jon Schlinkert.
+ * Released under the MIT License.
+ */
+
+'use strict';
+
+var isPlainObject = require('is-plain-object');
+
+module.exports = function isExtendable(val) {
+  return isPlainObject(val) || typeof val === 'function' || Array.isArray(val);
+};