MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / bool_value

Function bool_value

packages/server/src/webkit.rs:1227–1229  ·  view source on GitHub ↗
(args: &Dictionary, key: &str)

Source from the content-addressed store, hash-verified

1225}
1226
1227fn bool_value(args: &Dictionary, key: &str) -> Option<bool> {
1228 args.get(key).and_then(Value::as_boolean)
1229}
1230
1231fn integer_value(args: &Dictionary, key: &str) -> Option<u64> {
1232 let value = args.get(key)?;

Callers 3

run_connectionMethod · 0.85
parse_application_listFunction · 0.85
parse_applicationFunction · 0.85

Calls 1

getMethod · 0.65

Tested by

no test coverage detected