[#beman-optional-optional-03-has_value]
= xref:beman.adoc[beman]::xref:beman/optional.adoc[optional]::xref:beman/optional/optional-03.adoc[optional]::has&lowbar;value
:relfileprefix: ../../../
:mrdocs:

Returns whether or not the optional has a value&period;

== Synopsis

Declared in `&lt;beman&sol;optional&sol;optional&period;hpp&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
constexpr
bool
has&lowbar;value() const noexcept;
----

== Description

Returns whether or not the optional has a value

== Return Value

bool


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