[#BloombergLP-bdlar-AnyCastUtil-toArrayConstRef] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlar.adoc[bdlar]::xref:BloombergLP/bdlar/AnyCastUtil.adoc[AnyCastUtil]::toArrayConstRef :relfileprefix: ../../../ :mrdocs: Cast the specified `any` to `ArrayConstRef`. == Synopsis Declared in `<bdlar_anycastutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bdlar/ArrayConstRef.adoc[ArrayConstRef] toArrayConstRef(xref:BloombergLP/bdlar/AnyConstRef.adoc[AnyConstRef] const& any); ---- == Description The behaviour is undefined unless `any.typeCategory() == bdlat_TypeCategory::e_ARRAY_CATEGORY`. == Return Value an `ArrayConstRef` for the object referred to by `any` == Parameters [cols="1,4"] |=== | Name| Description | *any* | const any reference to cast |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#