Accepts a parameter, logs it and then returns it
the value passed in t
t
logAndReturn(2) === 2 // also logs "2"
logAndReturn(2, 'my value') === 2 // also logs "my value 2"
the value to log
an optional message to log with
Generated using TypeDoc
Accepts a parameter, logs it and then returns it
Returns
the value passed in
t
Example
Example