Skip to main content

matches

Function matches 

Source
pub(crate) fn matches<'a, O>(
    input: &'a str,
    parser: impl Parser<&'a str, O, ContextError>,
) -> bool
Expand description

Check if a parser matches the start of input without consuming it.