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

Function string_clears_optional

src/automation_cli.rs:805–807  ·  view source on GitHub ↗
(value: &str)

Source from the content-addressed store, hash-verified

803}
804
805fn string_clears_optional(value: &str) -> bool {
806 value.is_empty() || value.eq_ignore_ascii_case("none")
807}
808
809fn parse_optional_u64(
810 value: Option<String>,

Callers 2

parse_optional_numberFunction · 0.85

Calls 1

is_emptyMethod · 0.45

Tested by

no test coverage detected