var._toCodePoint

private dchar _toCodePoint(const var v) @safe

Helper to extract code point from char types.