<div class='type'>Composable Function</div>


<a id='references'></a>



<h2 id="booleanresource-id">booleanResource</h2>

<div class='sourceset sourceset-android'>Android</div>


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


Load a boolean resource.

#### Parameters

| | |
| --- | --- |
| id | the resource identifier |


#### Returns

| | |
| --- | --- |
|  | the boolean associated with the resource |