Home > @opennd/lib > isStr
isStr() function
判断值是否是string
Signature:
typescript
export declare function isStr(val: any): val is string;Parameters
Parameter | Type | Description |
|---|---|---|
val | any |
val is string