[#BloombergLP-bslstl-Optional_Base-05-2conversion-071]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslstl.adoc[bslstl]::xref:BloombergLP/bslstl/Optional_Base-05.adoc[Optional&lowbar;Base]::operator bool
:relfileprefix: ../../../
:mrdocs:

Return `false` if this object is disengaged, and `true` otherwise&period;

== Synopsis

Declared in `&lt;bslstl&lowbar;optional&period;h&gt;`

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

== Return Value

`false` if this object is disengaged, and `true` otherwise


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