pass thru of arrays
michaelreflective opened this issue · comments
Hi
Thank you for a nice diff library. Our need is simply to get the new/updated array passed back as the diff. Having options to diff(.., {returnArray:true}) would be nice.
The code:
in diff/index.js justafter line 55
if (Array.isArray(r)) {
return r;
}
Regards
Michael
Hey @michaelreflective thanks for raising an issue.
I'm not quite sure I understand what you're asking for, would you mind adding a code example?
Hey sorry @michaelreflective for not coming back to you sooner! I'm still not sure if I understand the issue you are having. Would you mind taking a look at #23 to see if it is the same issue and if my comments are relevant to your use case? Thanks!
Closing for now. Feel free to reopen if you are still having issues