This commit is contained in:
Domen Kožar
2020-02-24 13:29:22 +01:00
parent 033d472283
commit 49df04613e
6774 changed files with 1602535 additions and 1 deletions

View File

@@ -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);
};