or

0     0     Edited Sep 1, 2015

Returns true if any of the provided expressions evaluate to true, otherwise false.

Usage

x ← or(boolean_expression1, boolean_expression2, ..., boolean_expressionN)  

or

x ← boolean_exression1 or boolean_expression2  


Examples

country==1 or country==2
or(country==1, country==2)

q1r1==1 or q1r2==1 or q1r3==1    
or(q1r1==1, q1r2==1, q1r3==1)

gender==1 or (gender==22 and q3==9)
or(gender==1, and(gender==22, q3==9))


See Also

Equivalency, and


Leave a Comment

Please sign in to leave a comment.