type/nothing - Maple Programming Help

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

type/nothing

check for any type

 Calling Sequence type(expr, nothing)

Parameters

 expr - any expression

Description

 • No valid maple expression is of this type.  That is, this type always returns false.
 • 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{nothing}\right)$
 ${\mathrm{false}}$ (1)
 > $\mathrm{type}\left(\frac{\mathrm{sin}\left(3x\right)}{\mathrm{π}},\mathrm{nothing}\right)$
 ${\mathrm{false}}$ (2)