MCPcopy
hub / github.com/pmndrs/react-spring / each

Function each

packages/shared/src/helpers.ts:42–45  ·  view source on GitHub ↗
(
  obj: Eachable<Value, Key, This>,
  fn: EachFn<Value, Key, This>
)

Source from the content-addressed store, hash-verified

40
41/** Minifiable `.forEach` call */
42export const each = <Value, Key, This>(
43 obj: Eachable<Value, Key, This>,
44 fn: EachFn<Value, Key, This>
45) => obj.forEach(fn)
46
47/** Iterate the properties of an object */
48export function eachProp<T extends object, This>(

Callers 15

stopMethod · 0.90
pauseMethod · 0.90
resumeMethod · 0.90
flushUpdateFunction · 0.90
getSpringsFunction · 0.90
prepareSpringsFunction · 0.90
prepareKeysFunction · 0.90
_startMethod · 0.90
_attachMethod · 0.90
_detachMethod · 0.90
becomeIdleFunction · 0.90
SpringRefFunction · 0.90

Calls 1

forEachMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…