take_while

Function take_while 

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

Takes while the condition is true.