pipeOps

io.github.srs.utils.chaining.Pipe.pipeOps
object pipeOps

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
pipeOps.type

Members list

Extensions

Extensions

extension [A](value: A)
inline def |>[B](f: A => B): B

The pipe operator |> allows you to pass a value through a function. This operator is useful for chaining function calls in a more readable way.

The pipe operator |> allows you to pass a value through a function. This operator is useful for chaining function calls in a more readable way.

Value parameters

f

the function to apply to the value

Attributes

Returns

the result of applying the function f to the value