# $lte

`$lte` operator lets you evaluate **less than or equal to** between 2 values to be compared. You can use this in any [<mark style="color:blue;">**Conditional Objects**</mark>](https://docs.cosmocloud.io/flow-builder/cql-cosmocloud-query-language/building-conditions/conditional-operators).

## Syntax

```json
{
    <key>: {
        "$lte": <value>
    }
}
```

### Properties

| Field    | Description                                                                                               | Required |
| -------- | --------------------------------------------------------------------------------------------------------- | -------- |
| \<key>   | <p>The key which needs to be compared with the value.<br><br>This can also be a Magical Autocomplete.</p> | true     |
| \<value> | <p>The value to compare the <code>\<key></code> with.<br><br>This can also be a Magical Autocomplete.</p> | true     |

## Examples

Let's say we have declared a variable `age` in our API flow, which has a value of **20** currently.

```json
{
    "$.variables.age": {
        "$lte": 20
    }
}
```

The above expression would resolve to **true**.
