# `MutagenEx.Mutators.Boolean`
[🔗](https://github.com/iautom8things/mutagen_ex/blob/v0.2.0/lib/mutagen_ex/mutators/boolean.ex#L1)

Swaps boolean operators and drops boolean negations:
`and ↔ or`, `&& ↔ ||`, `not x → x`, `!x → x`.

Per `mutagen.mutators` catalog entry 3. The binary swaps are symmetric.
The negation drops are NOT symmetric — once `not`/`!` is gone, applying
`mutate/1` again does not restore it because `mutate/1` only knows how
to drop a wrapper, not add one. The symmetric-swap property (r5) is
therefore restricted to binary forms; negation drops are covered by
unit tests instead.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
