mapIndexed
abstract fun StructureND<T>.mapIndexed(transform: C.(index: IntArray, T) -> T): StructureND<T>
Content copied to clipboard
Maps elements from one structure to another one by applying transform to them alongside with their indices.