pub fn isDigit(c: u8) bool
Returns whether the character is a digit.
c: u8
119 120 121 122 123 124
pub fn isDigit(c: u8) bool { return switch (c) { '0'...'9' => true, else => false, }; }
Returns whether the character is a digit.