Skip to content
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

新增 string/isEnglishOrChineseChar.js 检查一个字符是英文字符还是中文字符 #152

Merged
merged 2 commits into from
Sep 5, 2024

Conversation

penn201500
Copy link
Contributor

  • 新增 string/isEnglishOrChineseChar.js 检查一个字符是英文字符还是中文字符
  • 新增测试 string/isEnglishOrChineseChar.test.js

image

vitest pass:
image

@YangYongAn
Copy link

expect(isEnglishOrChineseChar('㐁')).toBe('Chinese');

@chenbimo chenbimo merged commit 512cb64 into chenbimo:main Sep 5, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants