Function isAlphabetic [src]

Returns whether the character is alphabetic: A-Z or a-z.

Prototype

pub fn isAlphabetic(c: u8) bool

Parameters

c: u8

Source

pub fn isAlphabetic(c: u8) bool { return switch (c) { 'A'...'Z', 'a'...'z' => true, else => false, }; }