Skip to main content

is_escaped

Function is_escaped 

Source
pub fn is_escaped(code: &str, byte_idx: usize) -> bool
Expand description

Determines if a character at a given byte index is escaped by backslashes. This checks for an odd number of preceding backslashes.