-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: hangulIncludes 올바르지 않은 동작 #178
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
감사합니다!
첫번째 인자에 두번째 인자인 |
hangulIncludes의 인자가 모두 한글문자열이어야 한다고 생각했습니다! |
상세한 이슈레이징과, PR을 통한 구현 감사드립니당 !! 🙇 |
Overview
#106 를 닫습니다.
hangulIncludes 함수의 의도에 맞는 결과값을 리턴합니다.
AS-IS
TO-BE
Description
"문자열"과 "한글 문자열"을 구분할 필요가 있습니다.
만약 "한글 문자열"을 나타내는 타입
Hangul
이라는 타입이 존재한다면 함수의 인자 타입은 다음과 같이 나타내볼 수 있습니다.safeParseHangul
함수를 사용하여 "문자열"을 "한글 문자열"으로 좁힙니다.disassembleHangul
와 같이 "한글 문자열"을 처리하는 내부함수의 올바른 동작을 보장합니다.PR Checklist