[#util-Expected-0b-has_value]
= xref:util.adoc[util]::xref:util/Expected-0b.adoc[Expected]::has&lowbar;value
:relfileprefix: ../../
:mrdocs:

Test whether a result value is held&period;

== Synopsis

Declared in `&lt;util&sol;expected&period;h&gt;`

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

== Return Value

true if a result value is stored, false if an error is stored&period;


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