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