modern-agile-team / modern-kit

@modern-kit은 클라이언트 개발에 유용한 모듈들을 제공하는 오픈소스 라이브러리 입니다.
https://modern-agile-team.github.io/modern-kit/
MIT License
44 stars 8 forks source link

feat(utils): min, max 함수 추가 #255

Closed ssi02014 closed 1 week ago

ssi02014 commented 1 week ago

Overview

Issue: https://github.com/modern-agile-team/modern-kit/issues/226 https://github.com/modern-agile-team/modern-kit/issues/227

배열에서 최솟값, 최댓값을 구하는 min, max 유틸 함수를 작업했씁니다.

PR Checklist

changeset-bot[bot] commented 1 week ago

🦋 Changeset detected

Latest commit: 0666aba310b8bff671d890f44d8c3e14ab017778

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ----------------- | ----- | | @modern-kit/utils | Minor |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

codecov[bot] commented 1 week ago

Codecov Report

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

Project coverage is 96.82%. Comparing base (15618be) to head (0666aba).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/modern-agile-team/modern-kit/pull/255/graphs/tree.svg?width=650&height=150&src=pr&token=HSFRRRH8Q3&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=modern-agile-team)](https://app.codecov.io/gh/modern-agile-team/modern-kit/pull/255?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=modern-agile-team) ```diff @@ Coverage Diff @@ ## main #255 +/- ## ========================================== + Coverage 96.77% 96.82% +0.05% ========================================== Files 112 114 +2 Lines 1208 1228 +20 Branches 300 304 +4 ========================================== + Hits 1169 1189 +20 Misses 33 33 Partials 6 6 ``` | [Components](https://app.codecov.io/gh/modern-agile-team/modern-kit/pull/255/components?src=pr&el=components&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=modern-agile-team) | Coverage Δ | | |---|---|---| | [@modern-kit/react](https://app.codecov.io/gh/modern-agile-team/modern-kit/pull/255/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=modern-agile-team) | `94.29% <ø> (ø)` | | | [@modern-kit/utils](https://app.codecov.io/gh/modern-agile-team/modern-kit/pull/255/components?src=pr&el=component&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=modern-agile-team) | `100.00% <100.00%> (ø)` | |