[#BloombergLP-balcl-CommandLine-type] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balcl.adoc[balcl]::xref:BloombergLP/balcl/CommandLine.adoc[CommandLine]::type :relfileprefix: ../../../ :mrdocs: Return the type of the option having the specified `name`. The behavior is undefined unless this command‐line object `hasOption(name)`. == Synopsis Declared in `<balcl_commandline.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/balcl/OptionType/Enum.adoc[OptionType::Enum] type(std::string_view const& name) const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#