# parseTomlType

Description: parseTomlType 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-type.mdx

### Signature

```solidity
function parseTomlType(
  string calldata toml,
  string calldata key,
  string calldata typeDescription
) external pure returns (bytes memory);
```

### Description

Parses a string of TOML data at `key` and coerces it to type corresponding to `typeDescription`.
