[#bsl-function-0a-2conversion-03] = xref:bsl.adoc[bsl]::xref:bsl/function-0a.adoc[function]::operator bool :relfileprefix: ../../ :mrdocs: (C++11 and later) Return false if this object is empty, otherwise return true. Note that this is an explicit conversion operator and is typically invoked implicitly in contexts such as in the condition of an `if` or `while` statement, though it can also be invoked via an explicit cast. == Synopsis Declared in `<bslstl_function.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit operator bool() const noexcept; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#