3 ms·
_.any, some, every, keyBy.
by epicureanideal 11mo ago
_.any, some, every, keyBy.
- skrebbel 11mo ago_.any doesn’t seem to exist. Some and every are also in JS (with the same names even!). keyBy is just Array.map -> Object.fromEntries
- deleted 11mo ago[deleted]
- dsego 11mo agoIt was more useful before when browsers didn't support array.map and fromEntries. That's the origin of all these libraries, but browsers caught up. Things like keyBy, groupBy, debounce, uniqueId, and some others, are still useful.