Methods
isWeakSet(value) → {Boolean}
Returns if a value is a weak set.
Parameters:
Name | Type | Description |
---|---|---|
value |
* | the value to check |
- Source:
- See:
Returns:
true if value is a weak set
- Type
- Boolean
Example
if( isWeakSet(val) ){
return val.has(someSymbol);
}