# parseTomlBool

Description: parseTomlBool 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-bool.mdx

### Signature

```solidity
function parseTomlBool(
  string calldata toml,
  string calldata key
) external pure returns (bool);
```

### Description

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