MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / parse_f64_arg

Function parse_f64_arg

packages/server/src/main.rs:3436–3438  ·  view source on GitHub ↗
(value: &str)

Source from the content-addressed store, hash-verified

3434}
3435
3436fn parse_f64_arg(value: &str) -> Option<f64> {
3437 value.parse::<f64>().ok().filter(|value| value.is_finite())
3438}
3439
3440fn looks_like_device_selector(value: &str) -> bool {
3441 android::is_android_id(value)

Callers 3

parse_tap_command_argsFunction · 0.85
parse_required_f64_argFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected