<@U614XBD5E> Use the elvis operator: replace the e...
# announcements
k
@dumptruckman Use the elvis operator: replace the entire body of the function with
= messages[localizablePlugin]?.keys ?: throw IllegalArgumentException(...)
. See https://kotlinlang.org/docs/reference/null-safety.html for an explanation.
👍 1
d
karelpeeters: Ah yeah, I read about that but it's kind of a lot to get used to using.