MCPcopy Create free account
hub / github.com/callstackincubator/react-native-fast-io / average

Function average

example/tests/benchmark.tsx:144–144  ·  view source on GitHub ↗
(arr: number[])

Source from the content-addressed store, hash-verified

142 const wsIncoming = removeOutliers(allResults.map((r) => r.native.incomingTime))
143
144 const average = (arr: number[]) => arr.reduce((a, b) => a + b, 0) / arr.length
145
146 return {
147 fast: {

Callers 1

TestCaseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected