Skip to content

Instantly share code, notes, and snippets.

@hilukasz
Created May 1, 2012 13:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hilukasz/2567904 to your computer and use it in GitHub Desktop.
Save hilukasz/2567904 to your computer and use it in GitHub Desktop.
function isObject(myInput) {
try {
var isObject = false;
for(key in myInput) {
var isObject = true;
}
}catch(err) { };
if (isObject == true) {
return true;
}
else { return false; }
}
isObject(mySymb);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment