[#ParseVerbosity] = ParseVerbosity :mrdocs: Parses verbosity from provided UniValue. == Synopsis Declared in `<rpc/util.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int ParseVerbosity( xref:UniValue.adoc[UniValue] const& arg, int default_verbosity, bool allow_bool); ---- == Exceptions [cols="1,4"] |=== | Name| Thrown on | xref:JSONRPCError.adoc[`JSONRPCError`] | if allow_bool is false but arg provided is boolean |=== == Return Value An integer describing the verbosity level (e.g. 0, 1, 2, etc.) == Parameters [cols="1,4"] |=== | Name| Description | *arg* [in] | The verbosity argument as an int (0, 1, 2,...) or bool if allow_bool is set to true | *default_verbosity* [in] | The value to return if verbosity argument is null | *allow_bool* [in] | If true, allows arg to be a bool and parses it |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#