Created
May 1, 2012 13:29
-
-
Save hilukasz/2567904 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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