GetType - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


TypeTools

  

GetType

  

retrieve definition of user-defined type

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

GetType(typename)

Parameters

typename

-

symbol; name of the type

Description

• 

The definition for the type typename is returned.

• 

This function can only be used to retrieve definitions of types that have been registered using TypeTools[AddType]. In particular, it cannot be used to retrieve built-in types.

Examples

TypeToolsAddTypetff,identicalFAIL,identicalfalse,identicaltrue

TypeToolsGetTypetff

identicalFAIL,identicalfalse,identicaltrue

(1)

TypeToolsAddTypeinteger7,tevalbt::integerandiremt,7=0

aTypeToolsGetTypeinteger7

aTypeTools/integer7

(2)

printa

tevalbt::andiremt,7=0

(3)

See Also

type

type[structured]

TypeTools

TypeTools[AddType]

TypeTools[GetTypes]