Functions Index :: O :: Or2

[<< up one level]

Module:

bool :: core

Definition:

Or2(val x1, val x2)

Description:

Returns the result of the OR of its arguments. [1]

Examples:

b1 = Or2(true,true) # b1 == true

b2 = Or2(true,false) # b2 == true

b3 = Or2(false,true) # b3 == true

b4 = Or2(false,false) # b4 == false

 

[<< top]

 


[1]: The function is provided as a building block of more complex functions, particularly for operations on arrays. See the documentation of the array package and the ArrayOpFunc, ArrayOpArrayFunc and ArraySum functions.