and then you have lua

local result = condition and a or b

I’m not complaining, although it gets a little confusing when one of the results is falsey. Which is a rarity since only false and nil are falsey in lua.

Still less intuitive than Kotlin’s if expressions.
It’s amazing what people have made in Roblox with that language.