Creates a new pipe object that allows for chaining operations on a value.
This function provides a fluent interface for applying transformations to values, with intelligent method selection based on the input type:
Optional
values: Provides mapOptional
for safe Optional
transformationsmapNullable
for null-safe transformationsmap
method for general transformationsThe pipe maintains type safety throughout the chain, automatically selecting the appropriate overload based on the current value type.
The type of the initial value to wrap in a pipe.
The initial value to wrap in a pipe.
A pipe object with chaining methods appropriate for the value type.
Creates a new pipe object that allows for chaining operations on a value.
This function provides a fluent interface for applying transformations to values, with intelligent method selection based on the input type:
Optional
values: ProvidesmapOptional
for safe Optional transformationsmapNullable
for null-safe transformationsmap
method for general transformationsThe pipe maintains type safety throughout the chain, automatically selecting the appropriate overload based on the current value type.