User Guide
Testing the Type of an Expression
To test whether an expression is of a specified type:
• Use the type command.
>
>
For information on enclosing keywords in right single quotes ('), see
Delaying Evaluation (page 317).
Maple types are not mutually exclusive. An expression can be of more than
one type.
>
>
For information on converting an expression to a different type, see Convert-
ing (page 307).
Testing the Type of Subexpressions
To test whether an expression has a subexpression of a specified type:
• Use the hastype command.
>
7.3 Working with Maple Expressions • 299