toFloatArray
fun Array<out Float>.toFloatArray(): FloatArrayReturns an array of Float containing all of the elements of this generic array.
fun Collection<Float>.toFloatArray(): FloatArrayReturns an array of Float containing all of the elements of this collection.