Inequality test
Syntax
$e1 != $e2
!$e1.isEqual($e2)
Description
Boolean expression that evaluates to true if e1
and e2
do not evaluate to the same value.
Parameter
Name | Type | Description | Mandatory | Default |
---|---|---|---|---|
e1 | Number/string/boolean/business object/set | Object to be compared with e2 . |
yes | |
e2 | Number/string/boolean/business object/set | Object to be compared with e1 . |
yes |
Return value
Type: Boolean
true
, if the result of the evaluation says that the two objects are not equal.
Examples
Numbers
1 != 2
Output: true
Equal sets
!list(1, 2).isEqual(list(1, 2))
Output: false
Unequal sets
!list(1, 2).isEqual(list("one", "two"))
Output: true