Excerpt | ||
---|---|---|
| ||
ne(value, compareValue) Returns True if two values are not equal otherwise returns False. |
Function: ne()
Returns True if two values are not equal otherwise returns False.
Syntax
- ne(value, compareValue)
- value != compareValue
Argument | Type | Description |
---|---|---|
value | Any | First value to compare |
compareValue | Any | List of values to be compared with |
Examples
ne(in.success, "Passed")
Returns True if in.success does not match the string "Passed"
sum(if(ne(in.success,"Passed"),1,0))
When used as an attribute definition in a aggregate function, the output attribute will be populated with the number of records in each candidate set for which in.success has any value other than "Passed".