Creates the list of elements from Array.
Array
The source array.
The list of elements.
expect(toArray(fromArray([2.81, 3.14, 1.58]))).toStrictEqual([2.81, 3.14, 1.58]);expect(toArray(fromArray([]))).toStrictEqual([]); Copy
expect(toArray(fromArray([2.81, 3.14, 1.58]))).toStrictEqual([2.81, 3.14, 1.58]);expect(toArray(fromArray([]))).toStrictEqual([]);
Creates the list of elements from
Array.