Flash Lite 2.x and 3.0 ActionScript Language Reference

eq equality (strings) operator

expression1 eq expression2

Deprecated since Flash Player 5. This operator was deprecated in favor of the == (equality) operator.

Compares two expressions for equality and returns a value of true if the string representation of expression1 is equal to the string representation of expression2, false otherwise.

Operands

expression1 : Object - Numbers, strings, or variables.

expression2 : Object - Numbers, strings, or variables.

Returns

Boolean - The result of the comparison.

See also

== equality operator