toArray

extends the passed array with the methods of the PowerArray library

array toArray(array array);

Parameters

arrayarrayan array

Returns

arrayan array with the extra methods

Example

var arr1 = webix.toArray([1,2,3]);
var arr2 = webix.toArray();

See also
Back to top