deno_std icon indicating copy to clipboard operation
deno_std copied to clipboard

feat(collections): add `invert` and `invertBy`

Open mbhrznr opened this issue 1 year ago • 1 comments
trafficstars

first feature on deno_std 🎉

tackles https://github.com/denoland/deno_std/issues/4686 and creates first versions for the invert and invertBy functions.

the implementation is inspired by the lodash's invert and invertBy counterparts.

feedback is highly appreciated.

mbhrznr avatar May 10 '24 22:05 mbhrznr

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 91.49%. Comparing base (ba0522a) to head (ca99006).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4710   +/-   ##
=======================================
  Coverage   91.49%   91.49%           
=======================================
  Files         477      479    +2     
  Lines       37239    37257   +18     
  Branches     5316     5319    +3     
=======================================
+ Hits        34071    34089   +18     
  Misses       3112     3112           
  Partials       56       56           

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov[bot] avatar May 10 '24 22:05 codecov[bot]