# booleanResource

## Functions summary

|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `@https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable https://developer.android.com/reference/kotlin/androidx/compose/ui/res/booleanResource.composable#booleanResource(kotlin.Int)(id: @https://developer.android.com/reference/kotlin/androidx/annotation/BoolRes https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Load a boolean resource. |

## Functions

### booleanResource

Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/res/PrimitiveResources.android.kt+function:booleanResource)

```
@Composable
fun booleanResource(id: @BoolRes Int): Boolean
```

Load a boolean resource.

| Parameters |
|---|---|
| `id: @https://developer.android.com/reference/kotlin/androidx/annotation/BoolRes https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | the resource identifier |

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | the boolean associated with the resource |