Hey, Is there an stdlib extension function to sug...
# getting-started
r
Hey, Is there an stdlib extension function to sugarize this?
Copy code
value.let { v ->
  if (v != null) v else {
    .. code ..
  }
}
e.g. along the lines of
value.getOrElse { .. code .. }