The complexity of a condition is defined by the number of and and or operators.

A single condition's complexity should not become too high to keep the code readable.

Noncompliant Code Example

With a maximum allowed number of conditional operators of 3:
@if $height < 10 px and $width < 20px and $depth < 5px or $is-box-valid {
  do-something();
}

Compliant Solution

With a maximum allowed number of conditional operators of 3:
$is-box-small-enough: $height < 10 px and $width < 20px and $depth < 5px;

@if $is-frame-small-enough or $is-box-valid {
  do-something();
}