type/boolean_function - 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


Home : Support : Online Help : type/boolean_function

type/boolean_function

test for an expression of type boolean_function

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

type(expr::anything, 'boolean_function')

Parameters

expr

-

any expression

Description

• 

The call type(expr, boolean_function) returns true if expr is of type boolean_function.

• 

The type boolean_function is defined as an object of type function whose zeroth operand is one of the global symbols And, Or, Not, Xor, or Implies.

• 

Note that this type only checks the top level and does not perform any type checking on subexpressions.

Examples

typexandy,boolean_function

false

(1)

typeAndx,y,Ora,b,boolean_function

true

(2)

typexyz,boolean_function

true

(3)

See Also

type,boolean

type,function

type,truefalse

type/mathfunc