core :: Char :: is_surrogate
self
an UTF-16 surrogate pair ?
# Is `self` an UTF-16 surrogate pair ?
fun is_surrogate: Bool do
var cp = code_point
return cp >= 0xD800 and cp <= 0xDFFF
end
lib/core/text/abstract_text.nit:2162,2--2166,4