I am trying to understand some uses of clsx in assigning classnames to a component in React.
The construct
className={clsx(classes.menuButton, open &
classes.appBarShift will be applied only if open evaluates to true. If the array has more classes all of them will be applied if open evaluates to true
classes.appBarShift
open
true