Elvis operator
Elvis operator noun: a binary operator that returns its first operand if that operand evaluates to true, and otherwise evaluates and returns its second operand.
Noun
Elvis operator (plural Elvis operators)
Forms of Elvis operator
| plural | Elvis operators |
|---|
Origin of Elvis operator
The notation ?: humorously reinterpreted as an emoticon representing the eyes and hairstyle of Elvis Presley.
Questions about Elvis operator
- What does Elvis operator mean?
- Elvis operator means a binary operator that returns its first operand if that operand evaluates to true, and otherwise evaluates and returns its second operand.
- What part of speech is Elvis operator?
- Elvis operator is a noun.
- What is the plural of Elvis operator?
- The plural of Elvis operator is Elvis operators.
Words near Elvis operator in the dictionary
Source and license
Adapted from Wiktionary: Elvis operator (page history and authors). Text available under the Creative Commons Attribution-ShareAlike 4.0 license. Word.ws reformatted the entry and added links. Wiktionary data of 2026-09-02.
Last updated:
Cite this entry: “Elvis operator.” Word.ws, https://word.ws/elvis_operator. Based on Wiktionary, CC BY-SA 4.0.
