Flash CS4 Professional ActionScript 2.0

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.

Availability: ActionScript 1.0; Flash Player 4

Operands

expression1 : Object - Numbers, strings, or variables.

expression2 : Object - Numbers, strings, or variables.

Returns

Boolean - The result of the comparison.

See also

== equality operator