NuclearDispersionSystem/ant-design-vue-jeecg/node_modules/nanomatch/node_modules/is-extendable/index.js
2023-09-14 14:47:11 +08:00

15 lines
350 B
Java

/*!
* 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);
};