type/anything - Maple Programming Help

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{\pi }},\mathrm{anything}\right)$
 ${\mathrm{true}}$ (2)