D-E > eq (equal—string specific) |  |

eq (equal—string specific)

eq, equal, string, deprecated

Availability

Flash Player 4. This operator has been deprecated in Flash 5 in favor of the `== (equality)` operator.

Usage

    expression1 eq expression2

Parameters

`expression1, expression2` Numbers, strings, or variables.

Returns

Nothing.

Description

Comparison 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`; otherwise, the operation returns a value of `false`.

See also

`== (equality)`