Function

mutableVectorOf

Creates an empty MutableVector with a capacity of 16.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free

mutableVectorOf

Common
public inline fun <reified T> mutableVectorOf(): MutableVector<T>

Creates an empty MutableVector with a capacity of 16.


mutableVectorOf

Common
public inline fun <reified T> mutableVectorOf(vararg elements: T): MutableVector<T>

Creates a MutableVector with the given values. This will use the passed vararg elements storage.