Type::AnyType -- a type
representing arbitrary MuPAD objects
IntroductionType::AnyType represents arbitrary MuPAD
objects.
Call(s)testtype(obj, Type::AnyType)
Parametersobj |
- | any MuPAD object |
Returns
Related
Functions
DetailsType::ListOf.assume.
Example
1Any object matches this type:
>> testtype(3, Type::AnyType), testtype(x, Type::AnyType), testtype(array(1..1, [x]), Type::AnyType), testtype(Dom::Matrix(), Type::AnyType)
TRUE, TRUE, TRUE, TRUE
This type is meant for constructing composite types. The following call tests, whether an object is a list with arbitrary elements:
>> testtype([3, x, array(1..1, [x]), Dom::Matrix()],
Type::ListOf(Type::AnyType))
TRUE