MCPcopy
hub / github.com/immutable-js/immutable-js / SetCollection

Class SetCollection

src/Collection.js:28–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26}
27
28export class SetCollection extends Collection {
29 constructor(value) {
30 // eslint-disable-next-line no-constructor-return
31 return isCollection(value) && !isAssociative(value) ? value : SetSeq(value);
32 }
33}
34
35Collection.Keyed = KeyedCollection;
36Collection.Indexed = IndexedCollection;

Callers 5

constructorMethod · 0.90
unionMethod · 0.90
intersectMethod · 0.90
subtractMethod · 0.90
constructorMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected