[][src]Function yarte_lexer::take_while

pub fn take_while<E>(i: Cursor<'_>, f: fn(_: u8) -> bool) -> Result<'_, &str, E>

Take while function is true or empty Ok if is empty