setup-maven-cached/node_modules/isobject/index.js

11 lines
271 B
JavaScript
Raw Normal View History

2019-12-07 21:09:20 +08:00
/*!
* isobject <https://github.com/jonschlinkert/isobject>
*
* Copyright (c) 2014-2017, Jon Schlinkert.
* Released under the MIT License.
*/
export default function isObject(val) {
return val != null && typeof val === 'object' && Array.isArray(val) === false;
};