Instead I would do something like this: ``` fun f...
# announcements
s
Instead I would do something like this:
Copy code
fun foo(): Any? {
  if (someObj == null) return null

  return someNonNullObject
}