paulblessing
02/16/2018, 3:07 PM?.let { ... } ?: ... is exactly equivalent to if (not null) ... else ... but that's just not true in a general case.kevinmost
02/16/2018, 5:02 PMlet { ... } lambda's last line is an expression that returns null. If you start to alias ?.let-?: to if-else in your mind, you're going to be very surprised the first time this happens to you