omgovich / colord

👑 A tiny yet powerful tool for high-performance color manipulations and conversions
https://colord.omgovich.ru
MIT License
1.67k stars 49 forks source link

feature: isEqual interface method #62

Closed EricRovell closed 3 years ago

EricRovell commented 3 years ago

Implemented .isEqual(color: Colord): boolean utility method as discussed in #61. Provided tests. Documentation is updated.

codecov-commenter commented 3 years ago

Codecov Report

Merging #62 (16547b7) into master (b580aa1) will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #62   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           38        38           
  Lines          487       489    +2     
  Branches       109       109           
=========================================
+ Hits           487       489    +2     
Impacted Files Coverage Δ
src/colord.ts 100.00% <100.00%> (ø)

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 b580aa1...16547b7. Read the comment docs.

EricRovell commented 3 years ago

Thank you, you are welcome :)