also

inline fun <T> T.also(block: (T) -> Unit): T (source)

Platform and version requirements: Kotlin 1.1

Calls the specified function block with this value as its argument and returns this value.