Whether or not c is a whitespace character. That includes the space, tab, vertical tab, form feed, carriage return, and linefeed characters.
1 assert( isWhite(' ')); 2 assert( isWhite('\t')); 3 assert( isWhite('\n')); 4 assert(!isWhite('1')); 5 assert(!isWhite('a')); 6 assert(!isWhite('#')); 7 8 // N.B.: Does not return true for non-ASCII Unicode whitespace characters. 9 static import std.uni; 10 assert(std.uni.isWhite('\u00A0')); 11 assert(!isWhite('\u00A0')); // std.ascii.isWhite