| 131 | } |
| 132 | |
| 133 | export class SetSeq extends Seq { |
| 134 | constructor(value) { |
| 135 | // eslint-disable-next-line no-constructor-return |
| 136 | return ( |
| 137 | isCollection(value) && !isAssociative(value) ? value : IndexedSeq(value) |
| 138 | ).toSetSeq(); |
| 139 | } |
| 140 | |
| 141 | static of(/*...values*/) { |
| 142 | return SetSeq(arguments); |
| 143 | } |
| 144 | |
| 145 | toSetSeq() { |
| 146 | return this; |
| 147 | } |
| 148 | } |
| 149 | |
| 150 | Seq.isSeq = isSeq; |
| 151 | Seq.Keyed = KeyedSeq; |
no outgoing calls
no test coverage detected