add

fun add(element: Float): Boolean(source)

Adds element to the MutableFloatList and returns true.


fun add(index: Int, element: Float)(source)

Adds element to the MutableFloatList at the given index, shifting over any elements at index and after, if any.

Throws

if index isn't between 0 and size, inclusive