MCPcopy Index your code
hub / github.com/immutable-js/immutable-js / constructor

Method constructor

src/Seq.js:134–139  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

132
133export 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);

Callers

nothing calls this directly

Calls 4

isCollectionFunction · 0.90
isAssociativeFunction · 0.90
IndexedSeqClass · 0.85
toSetSeqMethod · 0.65

Tested by

no test coverage detected