@@ -119,7 +119,7 @@ pub enum Function {
119
119
/// Is first value included in an array (second value)
120
120
In ( Box < Rule > , Box < Rule > ) ,
121
121
/// Is first value NOT included in an array (second value)
122
- NotIn ( Box < Rule > , Box < Rule > ) ,
122
+ Nin ( Box < Rule > , Box < Rule > ) ,
123
123
/// Gets the element at a certain position (second value) of an array (first value)
124
124
At ( Box < Rule > , Box < Rule > ) ,
125
125
/// Note: this is inclusive of the start and end value
@@ -196,8 +196,8 @@ impl Function {
196
196
Self :: In ( Box :: new ( lhs. into ( ) ) , Box :: new ( rhs. into ( ) ) )
197
197
}
198
198
199
- pub fn new_not_in ( lhs : impl Into < Rule > , rhs : impl Into < Rule > ) -> Self {
200
- Self :: NotIn ( Box :: new ( lhs. into ( ) ) , Box :: new ( rhs. into ( ) ) )
199
+ pub fn new_nin ( lhs : impl Into < Rule > , rhs : impl Into < Rule > ) -> Self {
200
+ Self :: Nin ( Box :: new ( lhs. into ( ) ) , Box :: new ( rhs. into ( ) ) )
201
201
}
202
202
203
203
pub fn new_between (
@@ -710,7 +710,7 @@ fn eval(input: &Input, output: &mut Output, rule: &Rule) -> Result<Option<Value>
710
710
711
711
Some ( Value :: Bool ( b. contains ( & a) ) )
712
712
}
713
- Function :: NotIn ( first_rule, second_rule) => {
713
+ Function :: Nin ( first_rule, second_rule) => {
714
714
let is_in = eval (
715
715
input,
716
716
output,
0 commit comments