/// import { cell, recipe, UI } from "commontools"; export default recipe("LogicalComplexExpressions", (_state) => { const items = cell([]); const isEnabled = cell(false); const count = cell(0); return { [UI]: ( {/* Nested && - both conditions reference opaque refs */} {items.get().length > 0 && isEnabled.get() && Enabled with items} {/* Mixed || and && */} {(count.get() > 10 || items.get().length > 5) && Threshold met} ), }; });