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


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


<h2 id="hasscrolltoindexaction">hasScrollToIndexAction</h2>

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


```kotlin
fun hasScrollToIndexAction() = hasKey(SemanticsActions.ScrollToIndex)
```


Returns whether the node defines the ability to scroll to an item index.

Note that not all scrollable containers have item indices. For example, a
`scrollable` doesn't have items with an index,
while `LazyColumn` does.