= - Maple Help

# Online Help

###### All Products    Maple    MapleSim

type/equation

check for an equation

 Calling Sequence type(expr, equation) type(expr, =)

Parameters

 expr - any expression

Description

 • The call type(expr, equation) checks to see if expr is of type equation, that is, if it is an equality. It returns true if expr is of type equation, and false otherwise.  The calling sequence type(expr, =) is a synonym for type(expr, equation).

Supertypes

 •

Examples

 > $\mathrm{type}\left({x}^{2}=4,\mathrm{equation}\right)$
 ${\mathrm{true}}$ (1)
 > $\mathrm{type}\left(5<{x}^{2},\mathrm{equation}\right)$
 ${\mathrm{false}}$ (2)

 See Also