Reduce nesting by flipping conditions and returning early. It's now much clearer that it's actually a linear function (rather than a nested one). No functional changes.
Reduce nesting by flipping conditions and returning early. It's now much clearer that it's actually a linear function (rather than a nested one). No functional changes.