53a42440fc9a33fc941a1b89e4e05875c5a0c22df5e07392c005252c82f04b9a3df3c05836f3ef53eb3ee7024f8eddbb44cdeeb2217f89588cc3c4a28b812f 350 B

1234567891011121314
  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. 'use strict';
  8. var isPlainObject = require('is-plain-object');
  9. module.exports = function isExtendable(val) {
  10. return isPlainObject(val) || typeof val === 'function' || Array.isArray(val);
  11. };