[#util-Result-2conversion]
= xref:util.adoc[util]::xref:util/Result.adoc[Result]::operator bool
:relfileprefix: ../../
:mrdocs:

Tests whether the result holds a value&period;

== Synopsis

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

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

== Return Value

true if the result holds a value, false if it holds an error


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