UNPKG
@minionorg/share
Version:
latest (1.0.2)
1.0.2
1.0.1
1.0.0
函数库,工具库
github.com/minionorg/share-open
minionorg/share-open
@minionorg/share
/
typings
/
packages
/
StringUtils
/
isZH
/
index.d.ts
12 lines
(11 loc)
•
246 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
/** * 判断是否为中文 * *
@param
{string} str 字符串 *
@return
{boolean} 中文则为真 *
@example
* isZH('中国') = true * isZH('string') = false */
declare
function
isZH
(
str:
string
):
boolean
; export
default
isZH;