[#BloombergLP-bdlar-AnyCastUtil-toNullableValueRef] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlar.adoc[bdlar]::xref:BloombergLP/bdlar/AnyCastUtil.adoc[AnyCastUtil]::toNullableValueRef :relfileprefix: ../../../ :mrdocs: Cast the specified `any` to `NullableValueRef`. The behaviour is undefined unless `any.typeCategory()==bdlat_TypeCategory::e_NULLABLE_VALUE_CATEGORY`. == Synopsis Declared in `<bdlar_anycastutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static xref:BloombergLP/bdlar/NullableValueRef.adoc[NullableValueRef] toNullableValueRef(xref:BloombergLP/bdlar/AnyRef.adoc[AnyRef] const& any); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#