Parser.Where<T> method (1 of 2)

Fails if the specified predicate returns false for the successfully parsed value.

public static IParser<T> Where<T>(this IParser<T> parser, Func<T, bool> predicate)

See Also


Parser.Where<T> method (2 of 2)

Fails if the specified predicate returns false for the successfully parsed value.

public static IParser<T> Where<T>(this IParser<T> parser, Func<T, bool> predicate, 
    string failureName)

See Also