Is there any way to convert a nested arrayBuffer to a nested array in scala ? I tried using the toArray function, but it did not convert the nested arrayBuffers
I have an array buffer of type Any and following is my sample nested
ArrayBuffer(
ArrayBuffer(ArrayBuffer(ArrayBuffer(1, b), 5)))
I have an array buffer of type AnyThis is probably an XY (meta.stackexchange.com/questions/66377/what-is-the-xy-problem) question. You don't want to do that. Please explain a bit about what you're trying to do.