Elvis is in fact alive and well. Here's the code equivalent
Although in answer to the OP, the Elvis operator isn't really applicable to your code, as all you're doing is checking for null. Besides, Kotlin has a handy automatic null safety check operator.