Sign in
apache
/
nifi-fds
/
6435e394f6c7c31d3f61a4bfc9702bde2a1659fa
/
.
/
node_modules
/
stylelint
/
lib
/
utils
/
isWhitespace.js
blob: 7a8c13226da6b9532a9e5224d28cb7bc9d2f73f3 [
file
] [
log
] [
blame
]
/* @flow */
"use strict"
;
/**
* Check if a character is whitespace.
*/
module
.
exports
=
function
(
char
/*: string*/
)
/*: boolean*/
{
return
[
" "
,
"\n"
,
"\t"
,
"\r"
,
"\f"
].
indexOf
(
char
)
!==
-
1
;
};