MCPcopy Index your code
hub / github.com/nodejs/node / WriteToTypedArray

Function WriteToTypedArray

deps/v8/test/mjsunit/typedarray-helpers.js:129–136  ·  view source on GitHub ↗
(array, index, value)

Source from the content-addressed store, hash-verified

127}
128
129function WriteToTypedArray(array, index, value) {
130 if (array instanceof BigInt64Array ||
131 array instanceof BigUint64Array) {
132 array[index] = BigInt(value);
133 } else {
134 array[index] = value;
135 }
136}
137
138// Also preserves undefined.
139function Convert(item) {

Callers 15

CreateGsabFunction · 0.85
AtFunction · 0.85
TestCopyWithinFunction · 0.85
EntriesKeysValuesFunction · 0.85
CreateGsabForTestFunction · 0.85
EverySomeFunction · 0.85
FilterFunction · 0.85
ForEachReduceReduceRightFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…