Elvis operator
Meanings
noun
- A binary operator that returns its first operand if that operand evaluates to true, and otherwise evaluates and returns its second operand.
Word forms
Etymology
The notation ?: humorously reinterpreted as an emoticon representing the eyes and hairstyle of Elvis Presley.
Related words
This entry uses open data from Wiktionary (CC BY-SA/GFDL). Word forms are used for search and are not indexed as separate pages.