I have an object that looks like
var foundUser = { charData: [] }
which then I load an object from a database using mysql and then I ca
Chain is the best equivalence to pipe in lodash.
_.chain(foundUser) .assignIn(rows[0]) .omit(['blah']) .value()
You can also chain some custom function by .tap or .thru, e.g.:
.tap
.thru
_.chain(foundUser) .assignIn(rows[0]) .tap(console.log) .omit(['blah']) .value()