MCPcopy Create free account
hub / github.com/echosoar/canvas-cli / parse_number_list

Function parse_number_list

cli/src/main.rs:145–150  ·  view source on GitHub ↗
(s: &str)

Source from the content-addressed store, hash-verified

143}
144
145fn parse_number_list(s: &str) -> Vec<f64> {
146 s.split(|c: char| c == ',' || c.is_whitespace())
147 .filter(|part| !part.is_empty())
148 .map(parse_float)
149 .collect()
150}
151
152fn parse_round_rect_args(s: &str) -> Option<(f64, f64, f64, f64, Vec<f64>)> {
153 let (x, rest) = split_next_token(s)?;

Callers 1

parse_round_rect_argsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected