MCPcopy Create free account
hub / github.com/GraphLite-AI/GraphLite / get_bool

Method get_bool

graphlite/tests/testutils/cli_fixture.rs:232–237  ·  view source on GitHub ↗

Get a boolean value

(&self, key: &str)

Source from the content-addressed store, hash-verified

230
231 /// Get a boolean value
232 pub fn get_bool(&self, key: &str) -> Option<bool> {
233 match self.get(key) {
234 Some(Value::Boolean(b)) => Some(*b),
235 _ => None,
236 }
237 }
238}
239
240/// Convert JSON value to GraphLite storage value

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected