scalar_is_alphabetic

func scalar_is_alphabetic(scalar: Int) -> Bool

Tests the scalar against Unicode's Alphabetic property.

View Source
pub func scalar_is_alphabetic(scalar: Int) -> Bool {
	let cat: Int = _character_class(scalar: scalar)
	cat == _CC_ALPHABETIC || cat == _CC_ALPHANUMERIC
}