[#kernel-BlockTreeDB-ReadFlag]
= xref:kernel.adoc[kernel]::xref:kernel/BlockTreeDB.adoc[BlockTreeDB]::ReadFlag
:relfileprefix: ../../
:mrdocs:

Read a named boolean flag&period;

== Synopsis

Declared in `&lt;node&sol;blockstorage&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
ReadFlag(
    std::string const& name,
    bool& fValue);
----

== Return Value

True if the flag was present, false otherwise&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *name*
| The flag name&period;
| *fValue*
| Output set to the stored flag value&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
