Home > @jview/utils > isString
isString() function
是否是字符串类型
Signature:
typescript
export declare function isString(val: unknown): val is string;
export declare function isString(val: unknown): val is string;
Parameters
Parameter | Type | Description |
---|---|---|
val | unknown |
Returns:
val is string