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

Function makeSet

src/Set.js:223–229  ·  view source on GitHub ↗
(map, ownerID)

Source from the content-addressed store, hash-verified

221}
222
223function makeSet(map, ownerID) {
224 const set = Object.create(SetPrototype);
225 set.size = map ? map.size : 0;
226 set._map = map;
227 set.__ownerID = ownerID;
228 return set;
229}
230
231let EMPTY_SET;
232function emptySet() {

Callers 1

emptySetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected