type/|| - Maple Programming Help

type/||

check for an expression of type ||

 Calling Sequence type(expr, ||)

Parameters

 expr - expression

Description

 • This command returns true if expr is an unevaluated concatenated object, and false otherwise.
 • A concatenated object remains unevaluated if its right-hand argument does not evaluate to an expression of one of the following types.

Examples

 > $\mathrm{type}\left(p||i,\mathrm{||}\right)$
 ${\mathrm{false}}$ (1)
 > $\mathrm{type}\left(a||\left(\frac{4}{3}\right),\mathrm{||}\right)$
 ${\mathrm{true}}$ (2)
 > $\mathrm{type}\left(n||\left(45.67\right),\mathrm{||}\right)$
 ${\mathrm{false}}$ (3)
 > $r≔\mathrm{poly}||\left({x}^{3}-2x\right)$
 ${r}{:=}{\mathrm{poly}}{||}\left({{x}}^{{3}}{-}{2}{}{x}\right)$ (4)
 > $\mathrm{type}\left(r,\mathrm{||}\right)$
 ${\mathrm{true}}$ (5)