[#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`. == 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; ---- == Description The behavior is undefined unless this command‐line object `hasOption(name)`. == Return Value type of the named option == Parameters [cols="1,4"] |=== | Name| Description | *name* | option name to look up |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#