Skip to main content

Node NotEqual

rascal-0.34.0

Synopsis

Not equal operator on node values.

Syntax

Exp₁ != Exp₂

Types

Exp₁Exp₂Exp₁ != Exp₂
nodenodebool

Description

Yields true if the node names of the values of Exp₁ and Exp₂ are unequal or any of the children of each node is pairwise unequal, otherwise true.

Examples

rascal>"f"(1, "abc", true) != "g"(1, "abc", true);
bool: true
rascal>"f"(1, "abc", true) != "f"(1, "abc", true);
bool: false