mapToMutableBuffer
inline fun <T, R : Any> MutableStructureND<T>.mapToMutableBuffer(factory: MutableBufferFactory<R> = MutableBuffer.Companion::auto, crossinline transform: (T) -> R): MutableBufferND<R>
Content copied to clipboard
Transform structure to a new structure using provided MutableBufferFactory and optimizing if argument is MutableBufferND
Sources
common source
Link copied to clipboard