ParentFull threadrunevault·You can technically do some craziness with nested ternary operators but they look awful and if you write them you will regret it later.View on HN