Function | Function type | Target passed as | Returns |
---|---|---|---|
also |
Extension | it |
Target |
apply |
Extension | this |
Target |
let |
Extension | it |
Block return value |
run |
Extension | this |
Block return value |
with |
Regular | this |
Block return value |
-
-
Save KenVanHoeylandt/fa1a2d260393e0210faac661e4351f89 to your computer and use it in GitHub Desktop.
Comparison of Kotlin functions: also, apply, let, run, with
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment