Skip to content

ne(name, value): ComparisonNode

Defined in: src/query/expression.ts:218

Attribute is set with this type and holds a different value.

This is typed value-negation, not the complement: an entity that never set the attribute, or set it with another type, does not match. Use not(eq(...)) for the full complement.

string

ValueInput

ComparisonNode

ne("status", str("closed")) // status != str('closed')
not(eq("status", str("closed"))) // NOT status = str('closed') — also matches entities with no status