Skip to content

Equal

aggregating category: comparison no `||`

Returns TRUE when all values (parameters or inputs) are equal.

Without parameters, the rule checks that every input is equal. With parameters, the listed values — static or field references — must all be equal to produce a TRUE result.

Parameters

Nvalues Optional — accepts: field, BOOLEAN, DATE, FLOAT, INT, STRING

The Nth value to compare. May be a static value or a field reference. If no parameters are given, all available inputs are compared.

Input type

  • BOOLEAN
  • DATE
  • FLOAT
  • INT
  • STRING

Output type

  • BOOLEAN

Requires

  • All values must have the same type.

Examples

Compare all available inputs

Equal()

Compare three field references

Equal(:float1, :float2, :float3)

Mix static value and field reference

Equal(42, :the_answer)

See also

NotEqual, GreaterThan, GreaterThanOrEqual, LessThan, LessThanOrEqual