Step into Swift logo

What is the ElementAt Operator in RxSwift?

ElementAt Operator

RxSwift: ElementAt Operator

elementAt(n)

  • Emit only the element at the defined index n.
  • Ignores all but the defined element.
----1--2-----3--4---->

elementAt(2)

-------------3------->

< All Posts