jmespath.site
jmespath.site copied to clipboard
Add built-in functions "not contains"
Is it possible add a built-in function "not contains"?
You can emulate this combining the contains() function with a not-expression:
search( [? !contains(@, `2`)][], [[1, 3, 5], [2, 4, 6], [1, 2, 3]]) -> [1, 3, 5]
Perfect, thank you @springcomp!
(jes).