[#BloombergLP-bdlb-ConstNullableValueRef-isNull]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/ConstNullableValueRef.adoc[ConstNullableValueRef]::isNull
:relfileprefix: ../../../
:mrdocs:

Return whether the target does not contain a value&period;

== Synopsis

Declared in `&lt;bdlb&lowbar;nullablevalueref&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
isNull() const noexcept;
----

== Description

Return `false` if the target contains a value, and `true` otherwise&period; Note that this accessor is provided purely for compatibility with `NullableValue` and `NullableAllocatedValue`, and its use is discouraged in favor of `has&lowbar;value`&period;

== Return Value

`false` if the target contains a value, and `true` otherwise


[.small]#Created with https://www.mrdocs.com[MrDocs]#
