pyufunc.toolz_pipe_call#

pyufunc.toolz_pipe_call(value, *functions)#

Pipe a value through a sequence of functions.

Parameters:
  • value – Initial value.

  • *functions – Functions applied in order.

Note

Example

>>> toolz_pipe_call(2, lambda x: x + 1, lambda x: x * 2)
6
Returns:

Final result.

Return type:

Any