Hi, does anyone remember what the name for val (pr...
# announcements
k
Hi, does anyone remember what the name for val (prop1, prop2) object is called?
it only applies to pair object?
z
Destructuring?
You can do it with any object that defined
operator componentN()
functions
🎖️ 1
k
Thanks yes that’s the name cool
s
data classes
do this automatically, and you can destructure a
List
with up to five entries.