in is now inside, added in as inverse of has
This commit is contained in:
1 parent
b748eae035
commit
a3234034b5
2 files changed
+25
-8
No files matched your search
@@ -1111,7 +1111,8 @@ static const char* const jq_builtins[] = {
|
||||
" | reduce range(0; $max) as $j"
|
||||
" ([]; . + [reduce range(0;$length) as $i ([]; . + [ $in[$i][$j] ] )] )"
|
||||
" end;",
|
||||
"def in(xs): . as $x | xs | contains($x)",
|
||||
"def in(xs): . as $x | xs | has($x)",
|
||||
"def inside(xs): . as $x | xs | contains($x)",
|
||||
};
|
||||
#undef LIBM_DD
|
||||
|
||||
|
||||
Reference in new issue
Block a user