check for any type
type(x,anything) returns true when x is any valid Maple expression, except an expression sequence.
Expression sequences return an error, because each element would be interpreted as a separate argument to type.
This type often appears as a component of a structured type expression.
Download Help Document