Join Slack
Powered by
Is there a nice way in Arrow to merge two Maps?
# arrow
k
kierans777
06/09/2021, 11:15 AM
Is there a nice way in Arrow to merge two Maps?
r
raulraja
06/09/2021, 12:26 PM
Hi
@kierans777
, This is already supported in the std lib via the operator
+
Copy code
val x = mapOf(1 to "1") val y = mapOf(2 to "2") val xy = x + y
raulraja
06/09/2021, 12:26 PM
unless by merge you mean some other kind of combination
k
kierans777
06/09/2021, 12:40 PM
Thanks
@raulraja
that's what I was after
👍 1
3
Views
Open in Slack
Previous
Next