The methods defined in the Any primitive type are summarized in the following table.
Method | Returns … |
---|---|
asString | A string representing the value of a primitive type or the object id of an object reference |
display | The string "Any" |
getName | A string representing the value of a primitive type or the name of the receiver class if it is an object reference |
isKindOf | true if the type of the receiver is of the type specified by the type parameter |