Improve ternary operator documentation