source: frontend/node_modules/underscore/cjs/tap.js

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 303 bytes
Line 
1// Invokes `interceptor` with the `obj` and then returns `obj`.
2// The primary purpose of this method is to "tap into" a method chain, in
3// order to perform operations on intermediate results within the chain.
4function tap(obj, interceptor) {
5 interceptor(obj);
6 return obj;
7}
8
9module.exports = tap;
Note: See TracBrowser for help on using the repository browser.