Invert a predicate.
Section: Boolean Logic
Logical NOT
bash
bash
echo '[{"active":true},{"active":false}]' | jq '.[] | select(.active | not)'Explanation
`not` is frequently used inside filters.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Boolean Logic