MCPcopy
hub / github.com/vercel/next.js / at

Method at

packages/next/src/compiled/source-map08/source-map.js:90–95  ·  view source on GitHub ↗

* What is the element at the given index? * * @param Number aIdx

(aIdx)

Source from the content-addressed store, hash-verified

88 * @param Number aIdx
89 */
90 at(aIdx) {
91 if (aIdx >= 0 && aIdx < this._array.length) {
92 return this._array[aIdx];
93 }
94 throw new Error("No element indexed by " + aIdx);
95 }
96
97 /**
98 * Returns the array representation of this set (which has the proper indices

Callers 15

insertImportDeclarationsFunction · 0.80
updateExistingFlatConfigFunction · 0.80
runTransformFunction · 0.80
isRedirectErrorFunction · 0.80
index.jsFile · 0.80
acorn.jsFile · 0.80
eachMappingMethod · 0.80
originalPositionForMethod · 0.80
source-map.jsFile · 0.80
pseudoFunction · 0.80
index.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected