and - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


type/boolean

check for type Boolean

 

Calling Sequence

Parameters

Description

Subtypes

Examples

Calling Sequence

type(expr, boolean)

Parameters

expr

-

any expression

Description

• 

These functions return true if expr is of the specified type, and false otherwise.

• 

An expression is of type boolean if it is of type type/relation, type type/logical or one of the Boolean constants true, false, or FAIL.

Subtypes

• 

type/logical, type/relation, type/truefalse, type/truefalseFAIL

Examples

typex<5&comma;boolean

true

(1)

typeaornotb&comma;boolean

true

(2)

type1<2and5<x&comma;boolean

true

(3)

typefalse&comma;boolean

true

(4)

See Also

boolean

evalb

Formats/ByType/boolean

type

type/truefalse

type/truefalseFAIL

 


Download Help Document