eggheadio-github / stack-overflow-copy-paste

Utility functions copy/pasted (and modified slightly) from Stack Overflow
441 stars 606 forks source link

feat(curry): add curry function with tests #194

Closed ericArbour closed 6 years ago

ericArbour commented 6 years ago

I have added a new utility function that allows for the creation of a curried version of a function provided. I also added a basic test to verify that the function behaves as expected.

Resolves #193

codecov-io commented 6 years ago

Codecov Report

Merging #194 into master will not change coverage. The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master   #194   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          72     73    +1     
  Lines         291    297    +6     
=====================================
+ Hits          291    297    +6
Impacted Files Coverage Δ
src/curry.js 100% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 18379d4...e59adaf. Read the comment docs.