foundry_cheatcodes::toml

Function parse_toml_coerce

Source
fn parse_toml_coerce(toml: &str, key: &str, ty: &DynSolType) -> Result
Expand description

Parse a TOML string and return the value at the given path, coercing it to the given type.