!= (Inequality Operator)

Compares int, float, string or bool values of the same type, and supports payload-free union variants and variant tests. NaN is unequal to every float, including itself. Records and lists require an explicit supported structuralEquals comparison. See the equality rules.

Example

let isNotEqual = 5 != 3  // isNotEqual = true
isNotEqual = 5 != 3  // isNotEqual = true