toss / es-toolkit

A modern JavaScript utility library that's 2-3 times faster and up to 97% smaller—a major upgrade to lodash.
https://es-toolkit.slash.page
Other
6.28k stars 267 forks source link

feat(differenceBy): add `differenceBy` in compat #487

Open mass2527 opened 1 week ago

mass2527 commented 1 week ago

resolve #481

Since lodash is testing difference, differenceBy and differenceWith in difference-methods.spec, i have also included difference test case from our difference.spec.ts.

I am not sure about the type of values; it would be helpful if you could suggest a more appropriate type if one exists.

vercel[bot] commented 1 week ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
es-toolkit ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 14, 2024 2:27pm