[#BloombergLP-bdlde-Utf8Util-isValid-00]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlde.adoc[bdlde]::xref:BloombergLP/bdlde/Utf8Util.adoc[Utf8Util]::isValid
:relfileprefix: ../../../
:mrdocs:

Return `true` if the specified `string` contains valid UTF&hyphen;8, and `false` otherwise&period; `string` need not be null&hyphen;terminated and can contain embedded null bytes&period;

== Synopsis

Declared in `&lt;bdlde&lowbar;utf8util&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
bool
isValid(std::string&lowbar;view const& string);
----


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