In Kotlin is there an equivalent to the Swift code below? if let a = b.val { } else { } 16 Answers 16 Tags: kotlin