``` foo?.with { methodOne() methodTwo() yetA...
# codingconventions
n
Copy code
foo?.with {
  methodOne()
  methodTwo()
  yetAnotherMethodOnFoo()
} ?: throw Exception()