isValidDchar

fnbool isValidDchar(dchar c) pure nothrow @safe @nogc

Check whether the given Unicode code point is valid.

Parameters

ccode point to check

Returns

true if and only if c is a valid Unicode code point

Note

'\uFFFE' and '\uFFFF' are considered valid by isValidDchar,

as they are permitted for internal use by an application, but they are not allowed for interchange by the Unicode standard.