Step into Swift logo

What is the MapWithIndex Operator in RxSwift?

MapWithIndex Operator

RxSwift: MapWithIndex Operator

.mapWithIndex()

  • Same as .map only it passes the element’s index into its closure.

< All Posts