Not equal to | NOT_EQUAL

Syntax

NOT_EQUAL( [input], [other] )

Parameters

input
Any data may be used as the input.

other
Any data may be used as the other.

Return Value

TRUE if the VALUE is not equal to the OTHER. FALSE, otherwise.

Description

Determine if a value is not equal to another. Comparison is done structurally. If values of different types are provided, the comparison is done by type with the following precedence (from lowest to highest):
  1. UNDEFINED
  2. NULL
  3. BOOLEAN
  4. NUMBER
  5. STRING
  6. DATE
  7. ARRAY / LIST
  8. OBJECT / MAP

Examples

NOT_EQUAL(1, 2) # returns TRUE
NOT_EQUAL(2, 1) # returns TRUE
NOT_EQUAL(1, 1) # returns FALSE
NOT_EQUAL("abc", "abd") # returns TRUE
NOT_EQUAL([1, 2, 3], [1, 2, 3]) # returns FALSE
NOT_EQUAL([1, 2, 3], [1, 2, 4]) # returns TRUE
NOT_EQUAL([1, 2, 3], [1, 2]) # returns TRUE
NOT_EQUAL([1, 2, 3], [1, 3]) # returns TRUE
NOT_EQUAL(null, null) # returns FALSE