Non-equality

Reference documentation for using the Non-equality expression

Written By Ben Lehmann

Last updated 10 months ago

Purpose

Determines if values or evaluated expressions are not equal.

Parameters

Two values. The value types are unspecified.

Returns

Boolean

Description

Testing for non-equality compares values: if they are not equal, the expression returns TRUE. Multiple types can be tested for non-equality, including numbers, strings, and booleans.

Comments

The types of the values on each side should match (in most cases), as comparing values of different types for non-equality always evaluates as TRUE.

For example, the string β€˜true’ and the boolean value TRUE are different types: testing them for non-equality will result in an evaluation of TRUE.


v3.0