The type of the value / 值的类型
The original value, unchanged / 原始值,不变
Create a tap function that executes a side-effect and returns the value. Useful for inline use in pipe/compose chains.
创建一个拦截函数,执行副作用后返回值。 适用于 pipe/compose 链中的内联使用。
The type of the value / 值的类型
The side-effect function / 副作用函数
A function that taps into a value / 一个拦截函数
Tap into a value, execute a side-effect function, and return the original value. Useful for debugging or side-effects in pipe/compose chains.
拦截一个值,执行副作用函数,然后返回原始值。 适用于 pipe/compose 链中的调试或副作用场景。