Skip to content

字符串工具 ​

isString ​

判断是否为字符串。

ts
import { isString } from '@mylib/utils';

isString('hello'); // true
isString(123); // false