[#ArgsManager-GetBoolArg-0f] = xref:ArgsManager.adoc[ArgsManager]::GetBoolArg :relfileprefix: ../ :mrdocs: Return boolean argument, or std::nullopt if it was not set. == Synopsis Declared in `<common/args.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[requires_capability(0x7f2e381adc28)]] std::optional<bool> GetBoolArg(std::string const& strArg) const; ---- == Return Value The boolean value, or std::nullopt if unset. == Parameters [cols="1,4"] |=== | Name| Description | *strArg* | Argument to get (e.g. "‐foo"). |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#