MCPcopy Create free account
hub / github.com/immutable-js/immutable-js / emptySequence

Function emptySequence

src/Seq.js:292–294  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

290let EMPTY_SEQ;
291
292function emptySequence() {
293 return EMPTY_SEQ || (EMPTY_SEQ = new ArraySeq([]));
294}
295
296export function keyedSeqFromValue(value) {
297 const seq = maybeIndexedSeqFromValue(value);

Callers 3

constructorMethod · 0.85
constructorMethod · 0.85
constructorMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected