https://kotlinlang.org logo
p

perryprog

01/08/2018, 9:28 PM
When you have
Copy code
private operator fun componentN() = whatever
in a class, and then use the syntax
Copy code
val (thing1, thing2, ...etc) = this@ClassName
What does that mean? I assume it’s deconstruction, but I can’t find any docs on it besides https://kotlinlang.org/docs/reference/multi-declarations.html, which doesn’t show the
@
syntax.