---
title: "isHourInputValid"
description: "`true` if the current `hourInput` represents a valid hour (0-23)."
type: "property"
---

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


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

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


```kotlin
val TimePickerState.isHourInputValid: Boolean
```


`true` if the current `hourInput` represents a valid hour (0-23).



