Function pear::parsers::peek_if[][src]

pub fn peek_if<I: Input, F>(input: &mut I, cond: F) -> Result<I::Token, I> where
    F: Fn(I::Token) -> bool