mirror of
https://github.com/Azure/setup-helm.git
synced 2026-07-10 18:21:38 +00:00
committed by
GitHub
parent
20d2b4f98d
commit
e4f3964f67
+1
-1
@@ -1,5 +1,5 @@
|
||||
// Is a given variable an object?
|
||||
export default function isObject(obj) {
|
||||
var type = typeof obj;
|
||||
return type === 'function' || type === 'object' && !!obj;
|
||||
return type === 'function' || (type === 'object' && !!obj);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user