[#BloombergLP-bslx-TestInStream-isValid] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslx.adoc[bslx]::xref:BloombergLP/bslx/TestInStream.adoc[TestInStream]::isValid :relfileprefix: ../../../ :mrdocs: Return `true` if this stream is valid, and `false` otherwise. An invalid stream is a stream in which insufficient or invalid data was detected during an extraction operation. Note that an empty stream will be valid unless an extraction attempt or explicit invalidation causes it to be otherwise. == Synopsis Declared in `<bslx_testinstream.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool isValid() const; ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#