[#SettingToBool-09]
= SettingToBool
:mrdocs:

Convert a settings value to an optional boolean&period;

== Synopsis

Declared in `&lt;common&sol;args&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::optional&lt;bool&gt;
SettingToBool(xref:common/SettingsValue.adoc[common::SettingsValue] const& value);
----

== Return Value

The boolean value, or std&colon;&colon;nullopt when unset&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *value*
| The settings value to convert&period;
|===


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