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

Online Help

All Products    Maple    MapleSim


type/protected

check for a protected name

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

type(x, protected)

Parameters

x

-

any expression

Description

• 

The call type(x, protected) checks to see if the expression x is a name of type protected. It returns true if x is a protected name, and false otherwise.

• 

Protection is used to prevent names from being modified by the user. Most of the Maple systems names are protected by default.

• 

Names can be protected with the function protect; and protection can be removed with unprotect.

Examples

typesin,protected

true

(1)

typelhs,protected

true

(2)

typef,protected

false

(3)

protectf

typef,protected

true

(4)

See Also

protect

type