BloombergLP::balcl::CommandLine::theBool

Return the value of the option having the specified name. The value returned matches that returned by isSpecified(name). The behavior is undefined unless this command-line object isParsed(), hasOption(name), and OptionType::e_BOOL == type(name).

Synopsis

Declared in <balcl_commandline.h>

bool
theBool(std::string_view const& name) const;