Elvis operator

短语

词形变化

Elvis operators 复数 Elvis operators

释义与例句

n.
  1. 1.

    A binary operator that returns its first operand if that operand evaluates to true, and otherwise evaluates and returns its second operand.

    非正式 计算机 工程 数学

词源

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

来源:wiktionary