or

Applies the ternary OR logic on values. If no arguments is provided, returns the value of the left operand.

See also and.

Syntax

or(value_1[, value_i[, ...]])
Parameter Description
value_i The boolean value(s) to be compared to.

Examples

$('BooleanVar').or($('OtherBooleanVar'))
$('BooleanVar').or($('OtherBooleanVar').not())
$('BooleanVar').or($('SomeBooleanVar'), $('OtherBooleanVar'))