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

Method getInt

ui/src/app/Query.js:57–62  ·  view source on GitHub ↗
(name, missing = 0)

Source from the content-addressed store, hash-verified

55 }
56
57 getInt(name, missing = 0) {
58 if (!this.has(name)) {
59 return missing;
60 }
61 return parseInt(this.getString(name), 10);
62 }
63
64 getBool(name, missing = false) {
65 if (!this.has(name)) {

Callers 1

mapStateToPropsFunction · 0.80

Calls 2

hasMethod · 0.95
getStringMethod · 0.95

Tested by

no test coverage detected