# parseTomlInt

Description: parseTomlInt cheatcode documentation

Note: This document was authored using MDX

  Source: https://github.com/NomicFoundation/hardhat-website/tree/main/src/content/docs/docs/reference/cheatcodes/External/parse-toml-int.mdx

### Signature

```solidity
function parseTomlInt(
  string calldata toml,
  string calldata key
) external pure returns (int256);
```

### Description

Parses a string of TOML data at `key` and coerces it to `int256`.
