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