Chi
06/18/2019, 9:02 PMguard in swiftLuke
06/18/2019, 9:10 PMval firstName = person?.firstname ?: return false would be my way to go if you need to use firstName subsequently. I would use the if otherwise. You can consider using .let{} maybe. But that’s about it afaik