setup-maven-cached/node_modules/underscore/modules/isObject.js
2022-06-28 10:39:30 +02:00

6 lines
163 B
JavaScript

// Is a given variable an object?
export default function isObject(obj) {
var type = typeof obj;
return type === 'function' || (type === 'object' && !!obj);
}