`T` can be anything. Maybe this is what you want: ...
# announcements
s
T
can be anything. Maybe this is what you want:
Copy code
fun <T:Any> notNull(block:() -> T) : T {
        return block()
    }