is-set-x
Detect whether or not an object is an ES6 SET.
module.exports(object)
⇒ boolean
⏏
Determine if an object
is a Set
.
Kind: Exported function
Returns: boolean
- true
if the object
is a Set
,
else false
.
Param | Type | Description |
---|---|---|
object | * |
The object to test. |
Example
; const s = ; console; // falseconsole; // falseconsole; // true