.gitignore added
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / extend-shallow / node_modules / is-extendable / index.js
1 /*!
2  * is-extendable <https://github.com/jonschlinkert/is-extendable>
3  *
4  * Copyright (c) 2015-2017, Jon Schlinkert.
5  * Released under the MIT License.
6  */
7
8 'use strict';
9
10 var isPlainObject = require('is-plain-object');
11
12 module.exports = function isExtendable(val) {
13   return isPlainObject(val) || typeof val === 'function' || Array.isArray(val);
14 };