Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Make map and closure coercion work also for classes and abstract classes, and not only for interfaces.

"Elvis" operator for default values

Code Block

c = foo ?: bar // equivalent to c = foo ? foo : bar