News for hackers. Stuff that matters.
Re:Learn Kotlin in Y Minutes by amatheus on Thursday May 18, 2017 @02:55PM (#14369987)
You may use `also`. It is like let but it returns the receiver.

    val person = selection?.organization?.owner?.also {
        setTitle(it.name)
        setImage(it.image)        
    }

There are no comments on this comment yet.