Function rocket::mtls::oid::asn1_rs::nom::character::is_alphabetic

source ·
pub fn is_alphabetic(chr: u8) -> bool
Available on crate feature mtls only.
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);