Appearance
Function: tap()
tap<
T>(value,callback):T
Defined in: src/runtime.ts:25
Execute a callback and return the given value Useful for side effects in a chain
Type Parameters
T
T
Parameters
value
T
The value to pass to the callback
callback
(value) => void
The callback to execute
Returns
T
The original value