thenIf
fun Modifier.thenIf(condition: Boolean, ifFalse: @Composable Modifier.() -> Modifier? = null, ifTrue: @Composable Modifier.() -> Modifier): Modifier
Conditionally applies one of two @Composable modifier steps — the branch-and-chain idiom behind Modifier.styledWith's combinedClickable step, applied only when onClick/onLongClick is non-null.
Return
the receiver with the chosen step appended.