type/anything - Maple Programming Help

# Online Help

###### All Products    Maple    MapleSim

Home : Support : Online Help : Programming : Data Types : Type Checking : Types : type/anything

type/anything

check for any type

 Calling Sequence type(expr, anything)

Parameters

 expr - any expression

Description

 • Any valid Maple expression, except an expression sequence,  will satisfy this call.
 • Expression sequences cannot be allowed, because each element would be interpreted as a separate argument to type.

Examples

 > $\mathrm{type}\left({5}^{\frac{1}{2}},\mathrm{anything}\right)$
 ${\mathrm{true}}$ (1)
 > $\mathrm{type}\left(\frac{\mathrm{sin}\left(3x\right)}{\mathrm{π}},\mathrm{anything}\right)$
 ${\mathrm{true}}$ (2)

 See Also

## Was this information helpful?

 Please add your Comment (Optional) E-mail Address (Optional) What is ? This question helps us to combat spam