Elvis operator
Noun
Meaning
Elvis operator (plural Elvis operators)
(programming, informal) 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)
(programming, informal) A binary operator that returns its first operand if that operand evaluates to true, and otherwise evaluates and returns its second operand.