[#BloombergLP-bslx-TestInStream-isEmpty] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslx.adoc[bslx]::xref:BloombergLP/bslx/TestInStream.adoc[TestInStream]::isEmpty :relfileprefix: ../../../ :mrdocs: Return `true` if this stream is empty, and `false` otherwise. == Synopsis Declared in `<bslx_testinstream.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool isEmpty() const; ---- == Description Note that this function enables higher‐level types to verify that, after successfully reading all expected data, no data remains. == Return Value `true` if empty; `false` otherwise [.small]#Created with https://www.mrdocs.com[MrDocs]#