staircase.Stairs.pipe#
- Stairs.pipe(func: Callable, *args, **kwargs) Any #
Applies func and returns the result.
Primarily intended to facilitate method chaining.
- Parameters
- funccallable
Function to apply to self.
- args, optional
Positional arguments passed into func.
- kwargsmapping, optional
A dictionary of keyword arguments passed into func.
- Returns
- object
return type of func