"ternary operator" meaning in English

See ternary operator in All languages combined, or Wiktionary

Noun

Forms: ternary operators [plural]
Head templates: {{en-noun}} ternary operator (plural ternary operators)
  1. (programming) An operator taking three operands, specifically the operator ?: used in many programming languages to select one of two values depending on a third value. Wikipedia link: ternary conditional operator Categories (topical): Programming Translations (operator taking three operands): Auswahloperator [masculine] (German)
    Sense id: en-ternary_operator-en-noun-WOm~ROg2 Categories (other): English entries with incorrect language header Topics: computing, engineering, mathematics, natural-sciences, physical-sciences, programming, sciences

Inflected forms

Download JSON data for ternary operator meaning in English (1.6kB)

{
  "forms": [
    {
      "form": "ternary operators",
      "tags": [
        "plural"
      ]
    }
  ],
  "head_templates": [
    {
      "args": {},
      "expansion": "ternary operator (plural ternary operators)",
      "name": "en-noun"
    }
  ],
  "lang": "English",
  "lang_code": "en",
  "pos": "noun",
  "senses": [
    {
      "categories": [
        {
          "kind": "other",
          "name": "English entries with incorrect language header",
          "parents": [
            "Entries with incorrect language header",
            "Entry maintenance"
          ],
          "source": "w"
        },
        {
          "kind": "topical",
          "langcode": "en",
          "name": "Programming",
          "orig": "en:Programming",
          "parents": [
            "Computing",
            "Software engineering",
            "Technology",
            "Computer science",
            "Engineering",
            "Software",
            "All topics",
            "Sciences",
            "Applied sciences",
            "Media",
            "Fundamental",
            "Communication"
          ],
          "source": "w"
        }
      ],
      "glosses": [
        "An operator taking three operands, specifically the operator ?: used in many programming languages to select one of two values depending on a third value."
      ],
      "id": "en-ternary_operator-en-noun-WOm~ROg2",
      "links": [
        [
          "programming",
          "programming#Noun"
        ],
        [
          "operator",
          "operator"
        ],
        [
          "operand",
          "operand"
        ],
        [
          "programming language",
          "programming language"
        ],
        [
          "value",
          "value"
        ]
      ],
      "raw_glosses": [
        "(programming) An operator taking three operands, specifically the operator ?: used in many programming languages to select one of two values depending on a third value."
      ],
      "topics": [
        "computing",
        "engineering",
        "mathematics",
        "natural-sciences",
        "physical-sciences",
        "programming",
        "sciences"
      ],
      "translations": [
        {
          "code": "de",
          "lang": "German",
          "sense": "operator taking three operands",
          "tags": [
            "masculine"
          ],
          "word": "Auswahloperator"
        }
      ],
      "wikipedia": [
        "ternary conditional operator"
      ]
    }
  ],
  "word": "ternary operator"
}
{
  "forms": [
    {
      "form": "ternary operators",
      "tags": [
        "plural"
      ]
    }
  ],
  "head_templates": [
    {
      "args": {},
      "expansion": "ternary operator (plural ternary operators)",
      "name": "en-noun"
    }
  ],
  "lang": "English",
  "lang_code": "en",
  "pos": "noun",
  "senses": [
    {
      "categories": [
        "English countable nouns",
        "English entries with incorrect language header",
        "English lemmas",
        "English multiword terms",
        "English nouns",
        "en:Programming"
      ],
      "glosses": [
        "An operator taking three operands, specifically the operator ?: used in many programming languages to select one of two values depending on a third value."
      ],
      "links": [
        [
          "programming",
          "programming#Noun"
        ],
        [
          "operator",
          "operator"
        ],
        [
          "operand",
          "operand"
        ],
        [
          "programming language",
          "programming language"
        ],
        [
          "value",
          "value"
        ]
      ],
      "raw_glosses": [
        "(programming) An operator taking three operands, specifically the operator ?: used in many programming languages to select one of two values depending on a third value."
      ],
      "topics": [
        "computing",
        "engineering",
        "mathematics",
        "natural-sciences",
        "physical-sciences",
        "programming",
        "sciences"
      ],
      "wikipedia": [
        "ternary conditional operator"
      ]
    }
  ],
  "translations": [
    {
      "code": "de",
      "lang": "German",
      "sense": "operator taking three operands",
      "tags": [
        "masculine"
      ],
      "word": "Auswahloperator"
    }
  ],
  "word": "ternary operator"
}

This page is a part of the kaikki.org machine-readable English dictionary. This dictionary is based on structured data extracted on 2024-05-20 from the enwiktionary dump dated 2024-05-02 using wiktextract (1d5a7d1 and 304864d). The data shown on this site has been post-processed and various details (e.g., extra categories) removed, some information disambiguated, and additional data merged from other sources. See the raw data download page for the unprocessed wiktextract data.

If you use this data in academic research, please cite Tatu Ylonen: Wiktextract: Wiktionary as Machine-Readable Structured Data, Proceedings of the 13th Conference on Language Resources and Evaluation (LREC), pp. 1317-1325, Marseille, 20-25 June 2022. Linking to the relevant page(s) under https://kaikki.org would also be greatly appreciated.