Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • 27
    Return left side if it's not null, otherwise return right side. The first expression is short notation for the second expression. kotlinlang.org/docs/reference/null-safety.html#elvis-operator Commented Jan 14, 2018 at 19:07
  • That's the same as ?? in Flutter, which means if null then blah blah blah Commented Jul 4, 2023 at 11:52