So, for the sake of making my code faster, I was hoping to turn my if-statements into ternaries, as this was the perfect place to do so. This is because ternaries are faster