> ## Documentation Index
> Fetch the complete documentation index at: https://help.dingtalk.io/llms.txt
> Use this file to discover all available pages before exploring further.

# LT

> The LT function compares two values in various YiDA scenarios to determine whether one is less than the other. It supports Number and Date type comparisons and returns a boolean result.

The **LT** function checks whether one value is **less than** another.

## Supported Product Scenarios

The LT function is supported in the following YiDA scenarios.

* Form (main table fields)
* Form (business association rules)
* Form (validation)
* Workflow design (validation rules)
* Workflow design (association actions)
* Integration & automation
* Workflow node
* Connector

## Syntax

```text theme={"theme":{"light":"github-light","dark":"github-dark"}}
LT(value1,value2)
```

## Attributes

| **Attribute** | **Required** | **Description**                                 |
| ------------- | ------------ | ----------------------------------------------- |
| value1        | Yes          | The value to compare. Supports Number and Date. |
| value2        | Yes          | The value to compare. Supports Number and Date. |

## Return Value

| **Return type** | **Description**                                                                                                                                       |
| --------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------- |
| boolean         | The result of comparing the two parameters.<br />• **true**: value1 is less than value2.<br />• **false**: value1 is greater than or equal to value2. |

## Example

As shown below, use the `LT()` function to compare `Number 1` and `Number 2`. When the value of `Number 1` is less than the value of `Number 2`, the function returns true.
