# Reactions & Triggers: Conditions

> Comparators and operands.

Glider documentation · Logic · Web page: https://cgglider.com/docs/reactions/conditions/

Sections of this page: [The model](https://cgglider.com/docs/reactions.md) · [When](https://cgglider.com/docs/reactions/events.md) · [Conditions](https://cgglider.com/docs/reactions/conditions.md) · [Then](https://cgglider.com/docs/reactions/actions.md) · [Chaining, delays & guards](https://cgglider.com/docs/reactions/chaining.md)

An onCompare reaction takes a path, an operator and a scalar operand — a string, a number, a boolean, or null.

| Op | Meaning |
| --- | --- |
| eq / ne | Equal / not equal. |
| lt / lte / gt / gte | Numeric or lexical ordering. |
| in / not-in | Membership in a collection. |
| contains | Substring or element containment. |

A timeline trigger's condition is richer: each side can come from page data, page memory, poller data, or a literal value, so one path can be compared against another rather than only against a constant.
