ne(a: storable, b: storable) -> bool

Returns true when both storable operands are non-null and not equal after the compiler's allowed coercions, and false when they are non-null and equal. If either operand is null, the result is null bool, matching three-valued logic alongside eq. The operand representation types must be comparable (each must be a subtype of the other after coercion).

Domain

This is a scalar function (calculates a single output value for a single input row).

Categories

Examples

Keeps rows whose environment value is not the literal "production" using ne().

Shows ne() with nullable hashes, yielding null bool when either side is null instead of true.