PHP 7.4.33
Preview: index.d.ts Size: 1.04 KB
/var/www/uibuilder.cmshelp.dk/httpdocs/node_modules/for-each/index.d.ts
declare function forEach<O extends readonly unknown[], This = undefined>(
    arr: O,
    callback: (this: This | void, value: O[number], index: number, array: O) => void,
    thisArg?: This,
): void;

declare function forEach<O extends ArrayLike<unknown>, This = undefined>(
    arr: O,
    callback: (this: This | void, value: O[number], index: number, array: O) => void,
    thisArg?: This,
): void;

declare function forEach<O extends object, This = undefined>(
    obj: O,
    callback: (this: This | void, value: O[keyof O], key: keyof O, obj: O) => void,
    thisArg?: This,
): void;

declare function forEach<O extends string, This = undefined>(
    str: O,
    callback: (this: This | void, value: O[number], index: number, str: O) => void,
    thisArg: This,
): void;

export = forEach;

declare function forEachInternal<O, C extends (this: This | void, value: unknown, index: PropertyKey, obj: O) => void, This = undefined>(
	value: O,
	callback: C,
	thisArg?: This,
): void;

declare namespace forEach {
	export type _internal = typeof forEachInternal;
}

Directory Contents

Dirs: 2 × Files: 10
Name Size Perms Modified Actions
.github DIR
- drwxr-xr-x 2025-03-28 11:04:35
Edit Download
test DIR
- drwxr-xr-x 2025-03-28 11:04:35
Edit Download
286 B lrw-r--r-- 2025-03-28 11:04:35
Edit Download
618 B lrw-r--r-- 2025-03-28 11:04:35
Edit Download
129 B lrw-r--r-- 2025-03-28 11:04:35
Edit Download
8.69 KB lrw-r--r-- 2025-03-28 11:04:35
Edit Download
1.04 KB lrw-r--r-- 2025-03-28 11:04:35
Edit Download
2.32 KB lrw-r--r-- 2025-03-28 11:04:35
Edit Download
1.05 KB lrw-r--r-- 2025-03-28 11:04:35
Edit Download
1.93 KB lrw-r--r-- 2025-03-28 11:04:35
Edit Download
718 B lrw-r--r-- 2025-03-28 11:04:35
Edit Download
94 B lrw-r--r-- 2025-03-28 11:04:35
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).