booleanResource

Composable Function

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

Load a boolean resource.

Parameters

idthe resource identifier

Returns

the boolean associated with the resource