Is self an UTF-16 surrogate pair ?

Property definitions

core :: abstract_text $ Char :: is_surrogate
	# 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