Is there any way to chain let functions over multi...
# announcements
d
Is there any way to chain let functions over multiple variables? I mean
Copy code
fun example(first: String?, second: String?) {
    first?.let && second?.let { 
        // Do something just if both are != null
    }
}
http://stackoverflow.com/questions/35513636/multiple-variable-let-in-kotlin