About 182,000 results
Open links in new tab
  1. Ternary - Wikipedia

    Ternary Look up ternary in Wiktionary, the free dictionary. Ternary (from Latin ternarius) or trinary is an adjective meaning "composed of three items". It can refer to:

  2. Conditional (ternary) operator - JavaScript - MDN

    Mar 13, 2025 · The conditional (ternary) operator is the only JavaScript operator that takes three operands: a condition followed by a question mark (?), then an expression to execute if the …

  3. Ternary Operator in Programming - GeeksforGeeks

    Mar 26, 2024 · The ternary operator is a conditional operator that takes three operands: a condition, a value to be returned if the condition is true, and a value to be returned if the …

  4. How do I use the conditional (ternary) operator? - Stack Overflow

    The ternary operator ? is a way of shortening an if-else clause, and is also called an immediate-if statement in other languages (IIf(condition,true-clause,false-clause) in VB, for example).

  5. Java Short Hand If...Else (Ternary Operator) - W3Schools

    There is also a short-hand if else, which is known as the ternary operator because it consists of three operands. It can be used to replace multiple lines of code with a single line, and is most …

  6. ?: operator - the ternary conditional operator - C# reference

    Jul 25, 2023 · Learn about the C# ternary conditional operator, (`?:`), that returns the result of one of the two expressions based on a Boolean expression's result.

  7. TERNARY Definition & Meaning - Merriam-Webster

    The meaning of TERNARY is of, relating to, or proceeding by threes. How to use ternary in a sentence.

  8. How to Use the Ternary Operator in JavaScript – Explained with …

    Feb 27, 2024 · A ternary operator is a conditional operator in JavaScript that evaluates a conditional expression and returns either a truthy or falsy value. To understand how this …

  9. TERNARY | English meaning - Cambridge Dictionary

    TERNARY definition: 1. consisting of three parts 2. using the number three as a base (= the number on which a counting…. Learn more.

  10. Ternary conditional operator - Wikipedia

    In computer programming, the ternary conditional operator is a ternary operator that is part of the syntax for basic conditional expressions in several programming languages.