About 548,000 results
Open links in new tab
  1. Logical OR (||) - JavaScript | MDN

    Jul 8, 2025 · The logical OR (||) (logical disjunction) operator for a set of operands is true if and only if one or more of its operands is true. It is typically used with boolean (logical) values.

  2. Operador OR lógico: | Microsoft Learn

    O operador OR lógico (||) retorna o valor booliano true se um ou ambos os operandos forem true e retorna false caso contrário. Os operandos são convertidos implicitamente no tipo bool …

  3. Logical disjunction - Wikipedia

    Many languages distinguish between bitwise and logical disjunction by providing two distinct operators; in languages following C, bitwise disjunction is performed with the single pipe …

  4. Logical OR operator in Programming - GeeksforGeeks

    Mar 26, 2024 · The Logical OR operator is a fundamental concept in programming that evaluates to true if at least one of the conditions it connects is true. It's represented by the symbol ||.

  5. Logical operators - cppreference.com

    Jun 5, 2024 · Builtin operators && and || perform short-circuit evaluation (do not evaluate the second operand if the result is known after evaluating the first), but overloaded operators …

  6. Operadores Lógicos - JavaScript | MDN

    Even though the && and || operators can be used with operands that are not Boolean values, they can still be considered Boolean operators since their return values can always be converted to …

  7. Logical Operators (GNU C Language Manual)

    The logical “or” binary operator computes left and, if necessary, right. If at least one of the operands is true, the ‘ || ’ expression gives the value 1 (which is true).

  8. Logical operators - The Modern JavaScript Tutorial

    Jun 5, 2022 · In classical programming, the logical OR is meant to manipulate boolean values only. If any of its arguments are true, it returns true, otherwise it returns false.

  9. Difference between logical operators AND and OR

    Jun 27, 2023 · AND && and OR || are logical operators in JavaScript which you can use for performing different logical expressions. In this article, I'll explain the difference between them.

  10. Boolean logical operators - AND, OR, NOT, XOR

    Jun 13, 2025 · The conditional logical OR operator ||, also known as the "short-circuiting" logical OR operator, computes the logical OR of its operands. The result of x || y is true if either x or y …