3 ms·ternary is not the important part here, could write it with if and early return too.by nsonha 3y agoternary is not the important part here, could write it with if and early return too.