Macro nom::verify [−][src]
verify!(I -> IResult<I, O>, O -> bool) => I -> IResult<I, O>
returns the result of the child parser if it satisfies a verification function
named!(check<u32>, verify!(nom::number::streaming::be_u32, |val: &u32| *val < 3));