moduledefinition - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


type/moduledefinition

check for a module definition

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

type(expr, moduledefinition)

Parameters

expr

-

any expression

Description

• 

An expression of type moduledefinition is generated by the syntax for module definitions.

• 

The command type(expr, moduledefinition) returns true if expr is of type moduledefinition. Otherwise, false is returned.

• 

Module definitions are not normally encountered in routine programming, since they evaluate immediately to modules. However, they may occur in procedure bodies, or in other, enclosing module definitions.

• 

See the help page module for more information about modules and their definitions.

Examples

typemoduleend module,moduledefinition

false

(1)

typemoduleend module,`module`

true

(2)

type'moduleend module',moduledefinition

true

(3)

type'moduleend module',`module`

false

(4)

See Also

module

type

type/module