[#BloombergLP-bdlde-Utf8Util-isValidCodePoint] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlde.adoc[bdlde]::xref:BloombergLP/bdlde/Utf8Util.adoc[Utf8Util]::isValidCodePoint :relfileprefix: ../../../ :mrdocs: If the specified `codePoint` (having at least the specified `numBytes`) refers to a valid UTF‐8 code point then return `true` and load the specified `status` with the number of bytes in the code‐point; otherwise, if `codePoint` is not a valid code‐point, return `false` and load `status` with one of the (negative) `ErrorStatus` constants. The behavior is undefined unless `numBytes > 0`. == Synopsis Declared in `<bdlde_utf8util.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- static bool isValidCodePoint( int* status, char const* codePoint, xref:BloombergLP/bdlde/Utf8Util/size_type.adoc[size_type] numBytes); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#