forked from actions/setup-maven
8 lines
176 B
JavaScript
8 lines
176 B
JavaScript
|
// Is a given variable an object?
|
||
|
function isObject(obj) {
|
||
|
var type = typeof obj;
|
||
|
return type === 'function' || (type === 'object' && !!obj);
|
||
|
}
|
||
|
|
||
|
module.exports = isObject;
|