1.2k questions
1.4k answers
361 comments
339 users
Use the Javascript typeof key word to determine what kind of javascript object. If it is a Java object, then you can use the getClass() or instanceof key word method to determine what type of Java object.
// Assume myVar is already assigned a value var myType = typeof myVar; if (myType === "object") { myType = myVar.getClass(); } qie.debug("The type of myVar is: " + myType);
// Assume myVar is already assigned a value
var myType = typeof myVar;
if (myType === "object") {
myType = myVar.getClass();
}
qie.debug("The type of myVar is: " + myType);