tap multimethod

Methods

tap(val:Any, cb:Fun) Source: stdlib.ngs:590
Call cb with val

Returns

val

Example

long_computation_part1().tap(F(x) echo("DEBUG: $x")).long_computation_part2()