macro_rules! builtin_numeric_pred {
($self:expr, $args:expr, $call_expr:expr, $check:expr) => { ... };
}Expand description
Macro for numeric predicate builtins.
Extracts one integer argument and returns a boolean based on the predicate.
ยงExample
builtin_numeric_pred!(self, args, call_expr, |n| n == 0) extracts one integer
and returns whether it equals zero.