/**
* Checks if a character is whitespace.
* @param {string} char - The character to check.
* @returns {boolean} True if the character is whitespace, false otherwise.
*/exportfunctionisWhitespace (char) {
return [` `, `\n`, `\t`, `\r`, `\f`].includes(char)
}