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

Report whether this lock currently owns its mutex&period;

== Synopsis

Declared in `&lt;sync&period;h&gt;`

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

== Return Value

true if the mutex is held&period;


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