if (typeof(myAnyTypeVar) == types::Record) { myTableVar = myAnyTypeVar; } if (typeof(myAnyTypeVar) == types::String) { myEDTType = myAnyTypeVar; }