Learning ActionScript 2.0 in Adobe Flash |
|
|
|
| Syntax and Language Fundamentals > About operators > About relational operators | |||
The relational operators take two operands, compare their values, and return a Boolean value. All of the operators in this table have equal precedence:
|
Operator |
Operation performed |
|---|---|
<
|
Less than |
>
|
Greater than |
<=
|
Less than or equal to |
>=
|
Greater than or equal to |
instanceof
|
Checks prototype chain |
in
|
Checks for object properties |
For information on using relational operators, see Using relational and equality operators.
|
|
|
|