Is there a more succinct way to achieve 'inline fun <reified T>'?

I proposed this some time ago…

It looks pretty complicated, but it may work for your use case.
In practice, you don’t need to define the function as inline, but you can get the type parameter automagically.

1 Like