Chain.thru() Method
Apply a function to the value of the chain.
Signature
thru<U>(interceptor: (value: T) => U): Chain<U>;Parameters
| Parameter | Type | Description |
|---|---|---|
| interceptor | (value: T) => U | |
| (Returns) | Chain<U> |
Apply a function to the value of the chain.
thru<U>(interceptor: (value: T) => U): Chain<U>;| Parameter | Type | Description |
|---|---|---|
| interceptor | (value: T) => U | |
| (Returns) | Chain<U> |