func scalar_is_alphabetic(scalar: Int) -> BoolTests 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
}