iif

inline fun Modifier.iif(condition: Boolean, then: Modifier.() -> Modifier): Modifier

Alias for thenIf. Applies the given then modifier builder if condition is true.