GetTypes - Maple Help

# Online Help

###### All Products    Maple    MapleSim

TypeTools

 GetTypes
 retrieve names of user-defined types

 Calling Sequence GetTypes()

Description

 • All types registered with TypeTools[AddType] are returned as a list of names.
 • This function cannot be used to retrieve built-in types.

Examples

 > $\mathrm{TypeTools}\left[\mathrm{AddType}\right]\left('\mathrm{Type1}',\mathrm{identical}\left(1\right)\right)$
 > $\mathrm{TypeTools}\left[\mathrm{AddType}\right]\left('\mathrm{Type2}',\mathrm{identical}\left(2\right)\right)$
 > $\mathrm{TypeTools}\left[\mathrm{GetTypes}\right]\left(\right)$
 $\left[{\mathrm{Type2}}{,}{\mathrm{Type1}}\right]$ (1)

 See Also