MCPcopy Create free account
hub / github.com/Louisym/MiniCC / as_bool

Method as_bool

rust/crates/runtime/src/json.rs:99–104  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

97
98 #[must_use]
99 pub fn as_bool(&self) -> Option<bool> {
100 match self {
101 Self::Bool(value) => Some(*value),
102 _ => None,
103 }
104 }
105
106 #[must_use]
107 pub fn as_i64(&self) -> Option<i64> {

Callers 2

format_edit_resultFunction · 0.80
optional_boolFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected