Function isAlphanumeric [src]

Returns whether the character is alphanumeric: A-Z, a-z, or 0-9.

Prototype

pub fn isAlphanumeric(c: u8) bool

Parameters

c: u8

Source

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