Join Slack
Powered by
`fun <T, E> ApiREsult<T, E>.myExtensio...
# getting-started
b
Brian Dilley
07/07/2021, 1:54 AM
fun <T, E> ApiREsult<T, E>.myExtension() { }
🧵 1
c
Colton Idle
07/07/2021, 2:02 AM
Damn. I was close.
c
CLOVIS
07/07/2021, 11:18 AM
Just remember that you
declare
generics between
fun
and the function name, and then you can use them exactly where you think they should go
👍 1
2
Views
Open in Slack
Previous
Next