Skip to content

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

ParameterTypeDescription
valunknown

Returns:

val is Set<unknown>