pub fn setting_array_to_string(kv: &[String]) -> Result<String>Expand description
Converts an even-length key/value array to a settings string in the format “k1:v1,k2:v2,”. Returns an error if the key is not a valid StageL identifier. This deliberately doesn’t match the JS version, which appears to have had a bug that caused it to format the string as “k1,v1:k2,v2:”.