MCPcopy Create free account
hub / github.com/ElementsProject/elements / get_bool

Method get_bool

src/univalue/lib/univalue_get.cpp:91–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91bool UniValue::get_bool() const
92{
93 if (typ != VBOOL)
94 throw std::runtime_error("JSON value is not a boolean as expected");
95 return getBool();
96}
97
98const std::string& UniValue::get_str() const
99{

Callers 15

ProcessReplyMethod · 0.80
importprivkeyFunction · 0.80
importaddressFunction · 0.80
importpubkeyFunction · 0.80
ProcessImportLegacyFunction · 0.80
ProcessImportDescriptorFunction · 0.80
backup.cppFile · 0.80
importmultiFunction · 0.80
importdescriptorsFunction · 0.80
listdescriptorsFunction · 0.80
restorewalletFunction · 0.80
coins.cppFile · 0.80

Calls

no outgoing calls

Tested by 5

BOOST_AUTO_TEST_CASEFunction · 0.64
BOOST_AUTO_TEST_CASEFunction · 0.64
AssetTestFunction · 0.64
TestFunction · 0.64
BOOST_AUTO_TEST_CASEFunction · 0.64