Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NativeScript/SimDeck
/ yaml_bool_field
Function
yaml_bool_field
packages/server/src/main/maestro.rs:420–424 ·
view source on GitHub ↗
(mapping: &serde_yaml::Mapping, field: &str)
Source
from the content-addressed store, hash-verified
418
}
419
420
fn yaml_bool_field(mapping: &serde_yaml::Mapping, field: &str) -> Option<bool> {
421
mapping
422
.get(YamlValue::String(field.to_owned()))
423
.and_then(YamlValue::as_bool)
424
}
Callers
1
maestro_selector
Function · 0.85
Calls
1
get
Method · 0.65
Tested by
no test coverage detected