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

Online Help

All Products    Maple    MapleSim


type/callable

check if an object is a procedure or appliable module

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

type(expr, callable)

Parameters

expr

-

expression

Description

• 

The type(expr, callable) calling sequence returns true if expr is either a procedure, a module with a ModuleApply procedure, or a name whose assigned value is one of the preceding.

Examples

type( proc() end proc, callable );

true

(1)

typefoo,callable

false

(2)

type2,callable

false

(3)

typeD1,callable

false

(4)

typexy,callable

false

(5)

typesin@cos,callable

false

(6)

typef,g,callable

false

(7)

typeLinearAlgebra,callable

false

(8)

typemodule_exportModuleApplyend module,callable

false

(9)

type( module() export ModuleApply := proc() end proc; end module, callable );

true

(10)

See Also

apply

evalapply

type

type/@

type/@@

type/appliable

type/procedure

unapply