---
title: "hasInput"
sidebar_label: "hasInput"
description: "Kotlin binding reference: hasInput."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

//[clika-runtime](../../../index.md)/[io.clika.runtime](../index.md)/[PhaseContext](index.md)/[hasInput](hasInput.md)

# hasInput

[common]\
fun [hasInput](hasInput.md)(name: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html)): [Boolean](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)

True when the request carries an input named [name](hasInput.md).