class %Library.AnyThis is a generic datatype to use whenever a more specific type is not applicable. Use this type in situations like the following:
- The value can be any type of data.
- IRIS does not include a class that describes the type. This applies, for example, if the value is an opaque structure that is not native to ObjectScript.
- The value can be one of several different types of data, and if you specify a type, that will confuse users of your code. For example, if a method can return either an object or a string, it is best for the method signature to have only a generic statement about the return value.
- The value being passed is a multidimensional array.