I'm reading through some code that I didn't write and I've come across this instance variable within a class.
private val t: (Duration) -> String?
It's called later in the code by
val str = t(<Insert Duration here>)
What does this syntax mean in Kotlin? It's difficult to interpret the variable names, unfortunately, so I have no clue what this is doing.