Ternary operators is an actively used design pattern.

?Years Old
  • Ternary operators ranks in the top 50% of entities I track
  • the Ternary operators wikipedia page
  • I have 9 facts about Ternary operators. what would you like to know? email me and let me know how I can help.

Languages with Ternary operators include javascript

Example from javascript:

let i = true ? 1 : 0

Last updated July 8th, 2019