geatmo
09/12/2017, 11:29 AMobj?.let { ... } ?: run { ... }.
Thread in Slack Conversation
Couldn't there be cases, where both paths might be executed? If the last statement in the let block would evaluate to null, that would make let itself return null and thus trigger the elvis operator.. or am I missing something here?