[android-components](../index.md) / [mozilla.components.feature.toolbar](index.md) / [SearchUseCase](./-search-use-case.md)

# SearchUseCase

`typealias SearchUseCase = (`[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`) -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/toolbar/src/main/java/mozilla/components/feature/toolbar/ToolbarFeature.kt#L19)

A function representing the search use case, accepting
the search terms as string.

