---
title: "readable"
description: "Return the current readable state record for the current snapshot. It is assumed that [this] is
the first record of [state]"
type: "function"
---

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


<a id='references'></a>
<div class='sourceset sourceset-common'>Common</div>


```kotlin
public fun <T : StateRecord> T.readable(state: StateObject): T
```


Return the current readable state record for the current snapshot. It is assumed that `this` is
the first record of `state`



<div class='sourceset sourceset-common'>Common</div>


```kotlin
public fun <T : StateRecord> T.readable(state: StateObject, snapshot: Snapshot): T
```


Return the current readable state record for the `snapshot`. It is assumed that `this` is the
first record of `state`



