isSet
Import from @varavel/vdl-plugin-sdk/utils/predicates.
Checks if a given value is Set.
This function can also serve as a type predicate in TypeScript, narrowing the type of the argument to Set.
Parameters
| Parameter | Type | Description |
|---|---|---|
value |
unknown |
The value to check if it is a Set. |
Returns
value is Set<any>
Returns true if value is a Set, else false.