Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
tap(tapFn) {
return this.__doCollectionTransform(tap(item => tapFn(item, item, ...this.__selfParam)));
}
tap(tapFn) {
return this.__doCollectionTransform(
tap(([key, value]) => tapFn(value, key, ...this.__selfParam)),
);
}
tap(tapFn) {
return this.__doCollectionTransform(tap((value, i) => tapFn(value, i, ...this.__selfParam)));
}