Thanks, the toArray
functionality makes more sense now.
I think for my case, new Map(ymap)
is all I will need.
What do you mean “This is why there is no Y.Map yet”? I may be confused. I’m talking about transforming from a Y.Map, not to a Y.Map.
… does toArray
transform into a Y.Array? (I thought it was transforming into a regular javascript Array.)