[#beman-optional-optional-03-has_value] = xref:beman.adoc[beman]::xref:beman/optional.adoc[optional]::xref:beman/optional/optional-03.adoc[optional]::has_value :relfileprefix: ../../../ :mrdocs: Returns whether or not the optional has a value. == Synopsis Declared in `<beman/optional/optional.hpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr bool has_value() const noexcept; ---- == Description Returns whether or not the optional has a value == Return Value bool [.small]#Created with https://www.mrdocs.com[MrDocs]#