fromArray

open fun fromArray(array: Any): WritableArray

Convert an array to a WritableArray.

Return

the converted WritableArray

Parameters

array

the array to convert. Supported types are: String[], Bundle[], int[], float[], double[], boolean[].

Throws

if the passed object is none of the above types