pub fn parse_variant(
input: &str,
data_type: &NodeId,
value_rank: i32,
) -> Result<Variant, String>Expand description
Parse a user-typed string into a Variant of the expected data_type.
Honors value_rank: rank ≥ 1 expects comma-separated values.