macro_rules! is_matching {
($val:ident) => { ... };
($($val:tt)+) => { ... };
}Expand description
Functor for matches! i.e. .is_some_and(is_matching!(‘A’..=‘Z’))
macro_rules! is_matching {
($val:ident) => { ... };
($($val:tt)+) => { ... };
}Functor for matches! i.e. .is_some_and(is_matching!(‘A’..=‘Z’))