one fable-low hijack cell
pair cpp / r
envelope code_pipe_pipe
ordering BA
effort low
Code-flavored OR operator — '{X} || {Y}'
verdictpicked cpp (first-offered)
· classifierA
· tiernone
response (200 chars)
# `||` in R vs C++
## R
```r
TRUE || FALSE # TRUE
```
- **Scalar only**: `||` examines just the first element of each vector (and since R 4.3, errors if length > 1).
- Use `|` for **element-wise**
neighbors