macro_rules! is_equal_to {
($val:ident) => { ... };
($val:expr_2021) => { ... };
}Expand description
Creates a closure that compares each input with a supplied value for equality.
The comparison target remains inside the closure body and is evaluated on every call.