Created
May 8, 2014 04:48
-
-
Save retrohacker/bae31f89015a9e441bf8 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 isDefined(result) { | |
if( result!=null && | |
typeof result !== "undefined" && | |
typeof result["row"] !== "undefined" && | |
typeof result["row"]["$"] !== "undefined" && | |
typeof result["row"]["$"]["CreationDate"] !== "undefined") { | |
return true | |
} else { | |
return false | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment