Convert a settings value to a boolean, using a default when unset.
Declared in <common/args.h>
bool
SettingToBool(
common::SettingsValue const& value,
bool default_value);
The boolean value, or the provided default when unset.
| Name | Description |
|---|---|
| value | The settings value to convert. |
| default_value | Value returned when the setting is unset. |