which of `also`,`run`,`let`,`apply` etc should I u...
# getting-started
p
which of
also
,
run
,
let
,
apply
etc should I use: 1. the extension must be lambda that takes one parameter (like let), can't be
this
2. it automatically returns the input just like
apply
does
l
There is
.let
p
but
.let
returns R and not T
i guess i need
Copy code
public inline fun <T, R> T.poo(
    block: (T) → R
): T
i
@poohbar Why do you need
block
to return
R
type if you doesn't use it?
Ok, I see you've sorted it out 🙂