MCPcopy Create free account
hub / github.com/aws/amazon-q-developer-cli / get_bool

Method get_bool

crates/chat-cli/src/database/settings.rs:243–245  ·  view source on GitHub ↗
(&self, key: Setting)

Source from the content-addressed store, hash-verified

241 }
242
243 pub fn get_bool(&self, key: Setting) -> Option<bool> {
244 self.get(key).and_then(|value| value.as_bool())
245 }
246
247 pub fn get_string(&self, key: Setting) -> Option<String> {
248 self.get(key).and_then(|value| value.as_str().map(|s| s.into()))

Callers 10

newMethod · 0.80
executeMethod · 0.80
nextMethod · 0.80
spawnMethod · 0.80
tool_use_executeMethod · 0.80
handle_responseMethod · 0.80
rlFunction · 0.80
invokeMethod · 0.80
is_enabledMethod · 0.80

Calls 1

getMethod · 0.45

Tested by 1

invokeMethod · 0.64