Hello, is there an equivalent of our beloved kotli...
# ios
g
Hello, is there an equivalent of our beloved kotlin let function in Swift?
d
Last time I looked, there wasn't; but it's also quite straightforward to implement.
In the same way as in Kotlin, by extending
Any
.
g
Yup you’re right it can be easily copied