Sign in
chromium
/
devtools
/
devtools-frontend
/
b3cd0a4f0ce68bbba2f63ebed0ec8564643eda2e
/
.
/
node_modules
/
stylelint
/
lib
/
utils
/
isSingleLineString.js
blob: 88fbdeb57cc421a38a74eb91fab037e4bfff9e01 [
file
] [
log
] [
blame
]
'use strict'
;
/**
* Check if a string is a single line (i.e. does not contain
* any newline characters).
*
* @param {string} input
* @return {boolean}
*/
module
.
exports
=
function
(
input
)
{
return
!
/[\n\r]/
.
test
(
input
);
};