type/TEXT - Maple Programming Help

# Online Help

###### All Products    Maple    MapleSim

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

type/TEXT

check for TEXT

 Calling Sequence type(expr, TEXT)

Parameters

 expr - expression

Description

 • This command returns true if expr is an object is a TEXT data structure, and false otherwise.
 • For the definition of a TEXT data structure, see the TEXT help page.

Examples

 > $s≔\mathrm{TEXT}\left(\mathrm{this is the first item},\mathrm{this is the second item},\mathrm{third}\right):$
 > $\mathrm{type}\left(s,\mathrm{TEXT}\right)$
 ${\mathrm{true}}$ (1)
 > $t≔\mathrm{TEXT}\left("een","twee","drie"\right):$
 > $\mathrm{type}\left(t,\mathrm{TEXT}\right)$
 ${\mathrm{true}}$ (2)
 > $u≔\mathrm{TEXT}\left(1\right):$
 > $\mathrm{type}\left(u,\mathrm{TEXT}\right)$
 ${\mathrm{false}}$ (3)

 See Also

## Was this information helpful?

 Please add your Comment (Optional) E-mail Address (Optional) What is ? This question helps us to combat spam