Reports whether this lock currently owns a shared lock.

Synopsis

Declared in <folly/SharedMutex.h>

explicit
operator bool() const noexcept;

Return Value

true if a shared lock is held.

Created with MrDocs