Nested ternaries are hard to read and can make the order of operations complex to understand.

include::{noncompliant}[]

Instead, use another line to express the nested operation in a separate statement.

include::{compliant}[]
