@sindresorhus done. 

> also this could be a ternary

For some odd reason, I remembered that you preferred everything as explicit as possible.