Macro libyml::IS_BREAK_AT
source · macro_rules! IS_BREAK_AT { ($string:expr, $offset:expr) => { ... }; }
Expand description
Checks if the character at the specified offset in the given string is a line break character.
§Parameters
$string
: A reference to the string to check.$offset
: The offset within the string to check.
§Return
Returns true
if the character at the specified offset is a line break character (CR, LF, NEL, LS, PS),
and false
otherwise.