type/applied - Maple Programming Help

Online Help

All Products    Maple    MapleSim


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

type/applied

check for an object of type applied

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

type(expr, applied)

type(expr, applied(vtype))

Parameters

expr

-

any expression

vtype

-

type

Description

• 

The call type(expr, applied) checks if expr is of the form name(args), where args is an expression sequence of zero or more items.

• 

If a parameter vtype is given, then it also checks if each of the arguments are each of type vtype.

• 

The types applied and applied(vtype) are identical to the types function and functionvtype, respectively.

Examples

typesinx,'applied'

true

(1)

typesin,'applied'

false

(2)

typef,'applied'

true

(3)

typefx,y,z,'applied'

true

(4)

typefx,y,z,'appliedname'

true

(5)

typef1,y,z,'appliedname'

false

(6)

See Also

function

type

type/appliable

type/function

 


Download Help Document

Was this information helpful?



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