I am trying to understand what the plus operator means in this Context
z
zsmb
01/21/2022, 10:04 AM
It’s a Kotlin operator for adding a new item to a list (more precisely, creating a new list that contains the elements of the original list and the new item)
See https://kotlinlang.org/docs/collection-plus-minus.html
👍 2
j
Joakim Forslund
01/21/2022, 10:04 AM
In this context it basically works the same way as assign apply.