Function nom::character::is_alphabetic

source ·
pub fn is_alphabetic(chr: u8) -> bool
Expand description

Tests if byte is ASCII alphabetic: A-Z, a-z

Example

assert_eq!(is_alphabetic(b'9'), false);
assert_eq!(is_alphabetic(b'a'), true);