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

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