[#BloombergLP-bdlb-operator_lt-08]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::operator&lt;
:relfileprefix: ../../
:mrdocs:

Return `true` if the specified `rhs` is not null, and `false` otherwise&period; Note that `bsl&colon;&colon;nullopt` is ordered before any `NullableAllocatedValue` that is not null&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;class TYPE&gt;
bool
operator&lt;(
    xref:bsl/nullopt_t.adoc[bsl::nullopt&lowbar;t] const& nullopt,
    xref:BloombergLP/bdlb/NullableAllocatedValue.adoc[NullableAllocatedValue&lt;TYPE&gt;] const& rhs) noexcept;
----

== Return Value

`true` if `rhs` is not null, and `false` otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *nullopt*
| disengaged&hyphen;optional tag&semi; value is unused
| *rhs*
| nullable value to test
|===


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