symbol - Maple Help

type/symbol

check for an object of type symbol

 Calling Sequence type(x, symbol)

Parameters

 x - any expression

Description

 • The call type(x, symbol) checks to see if x is of type symbol. It returns true if x is of type symbol, and false otherwise.
 • A symbol is a Maple expression that is a name but that is not of type indexed.

Subtypes

 •

Supertypes

 •

Examples

 > $\mathrm{type}\left(1,\mathrm{symbol}\right)$
 ${\mathrm{false}}$ (1)
 > $\mathrm{type}\left(\frac{1}{2},\mathrm{symbol}\right)$
 ${\mathrm{false}}$ (2)
 > $\mathrm{type}\left(0.5,\mathrm{symbol}\right)$
 ${\mathrm{false}}$ (3)
 > $\mathrm{type}\left("String",\mathrm{symbol}\right)$
 ${\mathrm{false}}$ (4)
 > $\mathrm{type}\left(\mathrm{Name},\mathrm{symbol}\right)$
 ${\mathrm{true}}$ (5)
 > $\mathrm{type}\left(a\left[b\right],\mathrm{symbol}\right)$
 ${\mathrm{false}}$ (6)
 > $\mathrm{type}\left(\frac{a}{b},\mathrm{symbol}\right)$
 ${\mathrm{false}}$ (7)