MCPcopy Create free account
hub / github.com/alephdata/aleph / getBool

Method getBool

ui/src/app/Query.js:64–69  ·  view source on GitHub ↗
(name, missing = false)

Source from the content-addressed store, hash-verified

62 }
63
64 getBool(name, missing = false) {
65 if (!this.has(name)) {
66 return missing;
67 }
68 return this.getString(name) === 'true';
69 }
70
71 toggle(name, value) {
72 const values = this.getList(name);

Callers

nothing calls this directly

Calls 2

hasMethod · 0.95
getStringMethod · 0.95

Tested by

no test coverage detected