2 * is-extendable <https://github.com/jonschlinkert/is-extendable>
4 * Copyright (c) 2015-2017, Jon Schlinkert.
5 * Released under the MIT License.
10 var isPlainObject = require('is-plain-object');
12 module.exports = function isExtendable(val) {
13 return isPlainObject(val) || typeof val === 'function' || Array.isArray(val);