# DRY refactored condition to exit early

Getting started with [jscpd](https://github.com/kucherenko/jscpd/) if found this little code redundancy.

Refactored it into a documented function that also exits earlier.