'use strict'; /** * Check if a character is whitespace. * * @param {string} char * @returns {boolean} */ module.exports = function (char) { return [' ', '\n', '\t', '\r', '\f'].includes(char); };