isValidCodePoint

Returns true if c is a valid code point

Note that this includes the non-character code points U+FFFE and U+FFFF, since these are valid code points (even though they are not valid characters).

Supersedes: This function supersedes std.utf.startsValidDchar().

@safe pure nothrow @nogc
bool
isValidCodePoint
(
dchar c
)

Parameters

c dchar

the code point to be tested

Meta

Standards

Unicode 5.0, ASCII, ISO-8859-1, ISO-8859-2, WINDOWS-1250, WINDOWS-1251, WINDOWS-1252