Sign in
apache
/
nifi-fds
/
gh-pages
/
.
/
node_modules
/
stylelint
/
lib
/
utils
/
isWhitespace.js
blob: a79c6577ceaad70126beef04421af50776b94334 [
file
] [
log
] [
blame
]
'use strict'
;
/**
* Check if a character is whitespace.
*
* @param {string} char
* @returns {boolean}
*/
module
.
exports
=
function
(
char
)
{
return
[
' '
,
'\n'
,
'\t'
,
'\r'
,
'\f'
].
includes
(
char
);
};