apiref
@spacet.me/chain@2.0.2

Chain.thru()  Method

Apply a function to the value of the chain.

Signature

thru<U>(interceptor: (value: T) => U): Chain<U>;

Parameters

ParameterTypeDescription
interceptor(value: T) => U
(Returns)Chain<U>