Top Qs
Timeline
Chat
Perspective

Elvis operator

From Wiktionary, the free dictionary

Remove ads

English

English Wikipedia has an article on:
Wikipedia

Etymology

The notation ?: humorously reinterpreted as an emoticon representing the eyes and hairstyle of Elvis Presley.

Noun

Elvis operator (plural Elvis operators)

  1. (programming, informal) A binary operator that returns its first operand if that operand evaluates to true, and otherwise evaluates and returns its second operand.

See also

Remove ads

Wikiwand - on

Seamless Wikipedia browsing. On steroids.

Remove ads