UNPKG

is-cjk-hanzi

Version:

Whether a character is a (single) cjk hanzi

6 lines (5 loc) 166 B
/** * Returns true if the text contains a single valid CJK character. */ declare function isSingleCJKHanzi(text: string): boolean; export default isSingleCJKHanzi;