# `Juggernaut.Operators.OperandSwap`
[🔗](https://github.com/holsee/juggernaut/blob/v0.4.0/lib/juggernaut/operators/operand_swap.ex#L1)

Reverses the first two operands of a non-commutative operation (Mutare
`operand_swap`): `-`, `/`, `**`, `<>`, `++`, `--`, `div`, `rem`, and the order-sensitive
calls `before?`, `after?`, `compare` and `diff` of `Date`, `Time`, `DateTime` and
`NaiveDateTime`, `Version.compare/2`, `MapSet.difference/2` and `MapSet.subset?/2`.
Identical operands are skipped. A piped call swaps the piped value too.

---

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