Repository URL to install this package:
|
Version:
1.3.2 ▾
|
/**
* @plugin
* @param {Primitive} name method name
* @param {Object} parent Parent
* @return {MethodChain} @chainable
*/
module.exports = function(name, parent) {
return this.initial(0).onCall(() => parent.tap(name, num => num + 1))
}