new features

New Chaining Operations in Scala 2.13

Reading Time: 2 minutes Scala 2.13 gave us two chaining operations, namely pipe and tap. To call methods one after the other in one go, we use chaining operations. Pipe pipe() is used to convert the input value to a new output value formed by applying the function provided to it in the parameter.Definition : def pipe[B](f: (A) => B) : BHere, the input value of type A will be converted Continue Reading