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

Function json_bool

src/doctor.rs:689–694  ·  view source on GitHub ↗
(value: &serde_json::Value, key: &str)

Source from the content-addressed store, hash-verified

687}
688
689fn json_bool(value: &serde_json::Value, key: &str) -> bool {
690 value
691 .get(key)
692 .and_then(serde_json::Value::as_bool)
693 .unwrap_or(false)
694}
695
696/// Check network connectivity.
697fn check_network(dc: &mut DoctorCounters) {

Callers 1

check_external_toolsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected