ActionScript 2.0 Language Reference |
|
|
|
| ActionScript language elements > Operators > or logical OR operator | |||
condition1 or condition2
Deprecated since Flash Player 5. This operator was deprecated in favor of the || (logical OR) operator.
Evaluates condition1 and condition2, and if either expression is true, the whole expression is true.
Availability: ActionScript 1.0; Flash Player 4
condition1 : Boolean - An expression that evaluates to true or false.
condition2 : Boolean - An expression that evaluates to true or false.
Boolean - The result of the logical operation.
|| logical OR operator, | bitwise OR operator
|
|
|
|