isWhitespace Summary Checks if the character is a whitespace character. Usage public bool isWhitespace() Returns 'true' if the character represents a whitespace character and 'false' otherwise. Description Checks if the character value represents a whitespace character. Valid whitespace characters are defined in accordance with ECMAScript 3 Sections 7.2 ("White Space") and 7.3 ("Line Terminators"). Examples Check if a character is a whitespace character 123` `.isWhitespace(); // true`\n`.isWhitespace(); // true`x`.isWhitespace(); // false Share HTML | BBCode | Direct Link