IsType (Reserved Word)

image\trumpet2.gif Disclaimer

The istype reserved word is used to test the data type of value of a property, method, or variable and returns True is the type matches and False if the type is not as expected.  

Example

When reading a value that has been saved to a GlobalDictionary element named 'myValue', the istype word is part an 'if' condition to determine the data type of the stored value and print the result.  

if globalDict.Items["myValue"] istype double then     

print("myValue is a double")

else

print("myValue is not a double");