nom::character

Function 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);