[#BloombergLP-balcl-CommandLine-theBool] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balcl.adoc[balcl]::xref:BloombergLP/balcl/CommandLine.adoc[CommandLine]::theBool :relfileprefix: ../../../ :mrdocs: Return the value of the option having the specified `name`. == Synopsis Declared in `<balcl_commandline.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool theBool(std::string_view const& name) const; ---- == Description 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)`. == Return Value value of the named option == Parameters [cols="1,4"] |=== | Name| Description | *name* | option name to look up |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#