osuosl / formsender

Simple script to email form submissions.
Apache License 2.0
3 stars 1 forks source link

Apply DeMorgan's Law to confusing conditional #61

Closed matthewrsj closed 7 years ago

matthewrsj commented 8 years ago

Specifically: A 2-input NAND is equivalent to OR-ing two inverted inputs.

I did this so the conditional would fit on one line and be more readable.

Run the tests, they still pass.