Function isWhitespace [src]

Returns whether this character is included in whitespace.

Prototype

pub fn isWhitespace(c: u8) bool

Parameters

c: u8

Source

pub fn isWhitespace(c: u8) bool { return switch (c) { ' ', '\t'...'\r' => true, else => false, }; }