Created
June 10, 2020 18:17
-
-
Save marcinOz/c1364a4738e5d5f90a2d9733f35189c3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extension KotlinExt<T> on T { | |
A let<A>(A Function(T) f) => f(this); | |
T also(void Function(T) f) { | |
f(this); | |
return this; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment