[#BloombergLP-bdlb-Tokenizer-isValid]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlb.adoc[bdlb]::xref:BloombergLP/bdlb/Tokenizer.adoc[Tokenizer]::isValid
:relfileprefix: ../../../
:mrdocs:

Return `true` if this object&apos;s iteration state is valid&period;

== Synopsis

Declared in `&lt;bdlb&lowbar;tokenizer&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
isValid() const;
----

== Description

Return `true` if the iteration state of this object is valid, and `false` otherwise&period; Note that the behavior of advancing the iteration state as well as accessing the current token or (trailing) delimiter is undefined unless the current iteration state of this object is valid&period;

== Return Value

`true` if the iteration state is valid, and `false` otherwise


[.small]#Created with https://www.mrdocs.com[MrDocs]#
