[#UniqueLock-2conversion] = xref:UniqueLock.adoc[UniqueLock]::operator bool :relfileprefix: ../ :mrdocs: Report whether this lock currently owns its mutex. == Synopsis Declared in `<sync.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- operator bool(); ---- == Return Value true if the mutex is held. [.small]#Created with https://www.mrdocs.com[MrDocs]#