UNPKG
dify-components
Version:
latest (1.0.0)
1.0.0
This is a modern component library template based on Turborepo+Vue 3.5+TypeScript.
dify-components
/
apps
/
docs
/
zh
/
packages
/
utils
/
string.md
13 lines
(8 loc)
•
168 B
Markdown
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
# 字符串工具
## isString
> 判断是否为字符串。 ```ts import { isString }
from
'@difylib/utils'
; isString(
'hello'
);
// true
isString(
123
);
// false
```