# InInspectionModeOnly

Android/JVM

## Functions summary

|---|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable [InInspectionModeOnly](https://developer.android.com/reference/kotlin/androidx/compose/ui/tooling/InInspectionModeOnly.composable#InInspectionModeOnly(kotlin.Function0))(content: @https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable () -> https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-unit/index.html)` **This function is deprecated.** This method should not be used in application code and will be removed soon. | android |

## Functions

### InInspectionModeOnly

android Artifact: [androidx.compose.ui:ui-tooling](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/tooling/Inspectable.android.kt+function:InInspectionModeOnly) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.0.0) Deprecated in [1.1.0](https://developer.android.com/jetpack/androidx/releases/compose-ui#1.1.0)

```
@Composable
fun [InInspectionModeOnly](https://developer.android.com/reference/kotlin/androidx/compose/ui/tooling/InInspectionModeOnly.composable#InInspectionModeOnly(kotlin.Function0))(content: @Composable () -> Unit): Unit
```

> [!CAUTION]
> **This function is deprecated.**   
> This method should not be used in application code and will be removed soon.

A wrapper for inspection-mode-only behavior. The children of this component will only be included in the composition when the composition is in inspection mode.