Apart from using it with the ?: operator, I’ve used = for stuff like this:
Say you want to convert a small list of color names to a color values you could do:
rgba(100*(color="red"), 100*(color="green"), 100*(color="blue"), 100)
Or if you happened to want to handle different colors or more of them:
chooseIndex((color="red")*1+ (color="green")*2+ (color="blue")*3, rgba(0,0,0,100), rgba(100,0,0,100), rgba(0,100,0,100),rgba(0,0,100,100))
Granted there are better ways if you wanted to handle lots of color names but this is handy and simpler for a few.