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

Online Help

All Products    Maple    MapleSim


type/name

check for an object of type name

 

Calling Sequence

Parameters

Description

Supertypes

Examples

Calling Sequence

type(x, name)

type(x, name(t))

Parameters

x

-

expression

t

-

type

Description

• 

The call type(x, 'name') checks if x is of type name. It returns true if x is of type name. Otherwise, it returns false.

• 

An object is of type name if it is a symbol, or if it is of type indexed and its root is of type name (that is, it is a recursive type).

• 

If the parameter t is included, it checks that x is assigned something of that type.

Supertypes

• 

type/algebraic

Examples

(1)

(2)

(3)

(4)

(5)

(6)

(7)

(8)

(9)

(10)

See Also

name

type

type/atomic

type/indexed

type/string

type/symbol

 


Download Help Document