MCPcopy
hub / github.com/Splidejs/splide / forEach

Function forEach

src/js/utils/array/forEach/forEach.ts:10–12  ·  view source on GitHub ↗
( values: T | T[], iteratee: ( value: T, index: number, array: T[] ) => void )

Source from the content-addressed store, hash-verified

8 * @param iteratee - An iteratee function.
9 */
10export function forEach<T>( values: T | T[], iteratee: ( value: T, index: number, array: T[] ) => void ): void {
11 toArray( values ).forEach( iteratee );
12}

Callers 13

destroyFunction · 0.90
updateFunction · 0.90
styleFunction · 0.90
removeAttributeFunction · 0.90
setAttributeFunction · 0.90
removeFunction · 0.90
beforeFunction · 0.90
toggleClassFunction · 0.90
appendFunction · 0.90
formatFunction · 0.90
forEach.test.tsFile · 0.90
omitFunction · 0.90

Calls 2

toArrayFunction · 0.90
forEachMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…