value_to_toml_value

Function value_to_toml_value 

Source
pub fn value_to_toml_value(v: &Value) -> Result<Value, ShellError>
Expand description

Converts a nu_protocol::Value into a toml::Value Will return a Shell Error, if the Nu Value is not a valid top-level TOML Value