Function rslint_parser::util::contains_js_linebreak [−][src]
pub fn contains_js_linebreak(string: impl AsRef<str>) -> bool
Expand description
Check whether a string contains a valid js linebreak consisting of any of these characters:
\n
, \r
, \u{2028}
, or \u{2029}