Less than or equal to

Learn how to check if a property is less than or equal to a value.

This operator checks whether one value is less than or equal to another. Like the less than operator, it works with numbers, strings, dates, and other values that have a concept of order.

Syntax

The basic syntax for this operator is:

with /*<name>*/ less than or equal to /*<value>*/

The negation of this operation can be expressed as:

with /*<name>*/ not less than or equal to /*<value>*/

You can also use the symbolic notation:

with /*<name>*/ <= /*<value>*/

Parameters

These are the supported parameters:

name
any

The name of the event property to check.

value
any

The value to compare against.

Examples

Check if a product with a specific display price was abandoned:

user has abandoned a product with displayPrice less than or equal to 100
Try in Playground

Or to check the opposite:

user has abandoned a product with displayPrice not less than or equal to 100
Try in Playground