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

Method reverse

src/Operations.js:60–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

58 }
59
60 reverse() {
61 const reversedSequence = reverseFactory(this, true);
62 if (!this._useKeys) {
63 reversedSequence.valueSeq = () => this._iter.toSeq().reverse();
64 }
65 return reversedSequence;
66 }
67
68 map(mapper, context) {
69 const mappedSequence = mapFactory(this, mapper, context);

Callers

nothing calls this directly

Calls 3

reverseFactoryFunction · 0.85
reverseMethod · 0.65
toSeqMethod · 0.65

Tested by

no test coverage detected