docs/io.github.mkohm.detekt.hint.rules/-test-interface/function.md
---
title: TestInterface.function -
---
[io.github.mkohm.detekt.hint.rules](../index.html) / [TestInterface](index.html) / [function](./function.html)
# function
`abstract fun function(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)