Flash CS4 Professional ActionScript 2.0

<> inequality operator

expression1 <> expression2

Deprecated since Flash Player 5. This operator has been deprecated. Adobe recommends that you use the != (inequality) operator.

Tests for the exact opposite of the equality (==) operator. If expression1 is equal to expression2, the result is false. As with the equality (==) operator, the definition of equal depends on the data types being compared:

  • Numbers, strings, and Boolean values are compared by value.
  • Objects, arrays, and functions are compared by reference.
  • Variables are compared by value or by reference depending on their type.

Availability: ActionScript 1.0; Flash Player 2

Operands

expression1 : Object - A number, string, Boolean value, variable, object, array, or function.

expression2 : Object - A number, string, Boolean value, variable, object, array, or function.

Returns

Boolean - The Boolean result of the comparison.

See also

!= inequality operator