macro_rules! predicate { ($a:ident && $($b:tt)*) => { ... }; ($a:ident) => { ... }; }
Expand description
A macro that converts boolean settings into predicates to look more natural.
macro_rules! predicate { ($a:ident && $($b:tt)*) => { ... }; ($a:ident) => { ... }; }
A macro that converts boolean settings into predicates to look more natural.