thenCheckNull
fun <T> Modifier.thenCheckNull(nullable: T?, block: @Composable Modifier.(value: T) -> Modifier): Modifier(source)
Applies the modifier provided if the nullable value is not null, uses Modifier.then() Example: Modifier.thenCheckNull("NotNull") { clickable(onClick = it) }