Equality

Reference documentation for using the Equality expression

Written By Ben Lehmann

Last updated 9 months ago

Purpose

Determines if values or evaluated expressions are equal.

Parameters

Two values. The value types are unspecified.

Returns

Boolean

Description

The expression tests for equality by comparing the values of the left and right side of the expression. If they are equal, the expression returns TRUE. Multiple types can be tested for 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 equality always evaluates as FALSE.

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


v3.0