Package: effect
Module: MutableList
Copies all current elements of the MutableList into a new array without
modifying the list.
When to use
Use when you need a snapshot of all current elements while keeping the list unchanged.
See
takeAll for converting all elements to an array and clearing the listSignature
declare const toArray: <A>(self: MutableList<A>) => Array<A>
Since v4.0.0