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
Source package:
toolz.Source repository: pytoolz/toolz
Source document: https://toolz.readthedocs.io/en/latest/
Source license: BSD License.
Example
>>> toolz_pipe_call(2, lambda x: x + 1, lambda x: x * 2) 6
- Returns:
Final result.
- Return type:
Any