pub fn toml(input: &str) -> QuartzResultExpand description
Checks if a string is valid TOML.
Alias for toml_as::<toml::Value>().
ยงExamples
use quartz_cli::validator;
let input = r#"
title = 'TOML Example'
[owner]
name = 'Lisa'
"#;
assert!(validator::toml(input).is_ok());