pub fn if_not_empty<'a, R: IsEmptyable>(
combinator: impl Fn(&'a str) -> ParseResult<'a, R>,
) -> impl Fn(&'a str) -> ParseResult<'a, R>Expand description
Checks if the combinator result is not empty.
pub fn if_not_empty<'a, R: IsEmptyable>(
combinator: impl Fn(&'a str) -> ParseResult<'a, R>,
) -> impl Fn(&'a str) -> ParseResult<'a, R>Checks if the combinator result is not empty.