Convert a settings value to an optional string.

Synopsis

Declared in <common/args.h>

std::optional<std::string>
SettingToString(common::SettingsValue const& value);

Return Value

The string value, or std::nullopt when unset.

Parameters

Name

Description

value

The settings value to convert.

Created with MrDocs