debug ? (this.state.isVisible ? "partially visible" : "hidden") : null; debug ? this.state.isVisible && somethingComplex ? "partially visible" : "hidden" : null; (a) => a ? () => { a; } : () => { a; }; (a) => (a ? a : a); (a) => a ? aasdasdasdasdasdasdaaasdasdasdasdasdasdasdasdasdasdasdasdasdaaaaaa : a;