[#BloombergLP-balcl-OptionType-toArrayType] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balcl.adoc[balcl]::xref:BloombergLP/balcl/OptionType.adoc[OptionType]::toArrayType :relfileprefix: ../../../ :mrdocs: If there is an array type whose elements have the specified `type` then return that array type; otherwise return `e_VOID`. `e_VOID == toArrayType(e_BOOL)` because an array of boolean values is not allowed as a command‐line‐option type. Note that `type == fromArrayType(TYPE)` when `TYPE != e_VOID` is returned. == Synopsis Declared in `<balcl_optiontype.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/balcl/OptionType/Enum.adoc[OptionType::Enum] toArrayType(xref:BloombergLP/balcl/OptionType/Enum.adoc[Enum] type); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#