function isWhitespace isWhitespace(text: string): boolean Determines if the given text is only comprised of whitespace. Examples Example 1 isWhitespace(null); // true isWhitespace(" "); // true isWhitespace("\n\t"); // true isWhitespace("Hello"); // false Parameters text: string Return Type boolean