take_while

Function take_while 

Source
pub fn take_while<'a>(
    cond: impl Fn(char) -> bool,
) -> impl Fn(&'a str) -> ParseResult<'a, &'a str>
Expand description

Takes a substring while the condition is true.