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