MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / parse_optional_f32

Function parse_optional_f32

src/automation_cli.rs:823–828  ·  view source on GitHub ↗
(
    value: Option<String>,
    field: &str,
)

Source from the content-addressed store, hash-verified

821}
822
823fn parse_optional_f32(
824 value: Option<String>,
825 field: &str,
826) -> tracedecay::errors::Result<Option<Option<f32>>> {
827 parse_optional_number(value, field, str::parse::<f32>)
828}
829
830fn parse_optional_number<T, E>(
831 value: Option<String>,

Callers 1

Calls 1

parse_optional_numberFunction · 0.85

Tested by

no test coverage detected