tap multimethod
Methods
- tap(val:Any, cb:Fun) Source: stdlib.ngs:1341
Call cb with val Returns
valExample
long_computation_part1().tap(F(x) echo("DEBUG: $x")).long_computation_part2()
long_computation_part1().tap(F(x) echo("DEBUG: $x")).long_computation_part2()