> **Can't find what you're looking for?** Use `search_docs` on the docs MCP server at `https://www.getfoundry.sh/api/mcp` to find what you need.
>
> **Have feedback?** Use `submit_feedback` on the same MCP server.

## `assertLt`

### Signature

```solidity
function assertLt(uint256 left, uint256 right) internal;
```

```solidity
function assertLt(uint256 left, uint256 right, string memory err) internal;
```

```solidity
function assertLt(int256 left, int256 right) internal;
```

```solidity
function assertLt(int256 left, int256 right, string memory err) internal;
```

### Description

Asserts `left` is strictly less than `right`.

Optionally includes an error message in the revert string.

### SEE ALSO

* [`assertLtDecimal`](/reference/forge-std/assertLtDecimal.mdx)
* [`assertLe`](/reference/forge-std/assertLe.mdx)
