  # Change Nickname

Current Nickname:

Search
v4.0
v4.0

# Not Equal

## Expression, Operand

`!=` judges whether one given value is not equal to another value.

Syntax:

• Expression: `<value1>` != `<value2>`
• Operator: ATTR (string, number, time)

## ATTR

Example: judge whether "Ultipa" is not equal to "Ultipa"

``````return "Ultipa" != "U1tipa"
``````

## Function

Example: judge whether PI does not equal 3

``````return pi() != 3
``````

## Alias

Example: find nodes whose levels are not 1, return 10 nodes with all properties

``````find().nodes() as n
where n.level != 1
limit 10
return n{*}
``````

Analysis: both nodes that do not have @level property and nodes whose @level do not equal 1 will be filtered

## Property

Example: Find information of 10 nodes that are not bank cards

``````find().nodes({level != 1}) as n
limit 10
return n{*}
``````

Analysis: another expression of this filter is `{!@card}`, see Logic Operator `!`.

Example: Find 10 bank cards whose level is not 1

``````find().nodes({level != 1}) as n
limit 10
return n{*}
``````

Example: Find 10 customers whose level is not 1

``````find().nodes({@customer.level != 1}) as n
limit 10
return n{*}
``````