rc-js-util
Version:
A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.
10 lines • 357 B
TypeScript
/**
* @public
* Like `Array.forEach`.
* @remarks
* Has more consistent performance characteristics cross-platform than the built-in `Array.forEach`.
*
* See {@link arrayForEach}.
*/
export declare function arrayForEach<TItem>(items: ArrayLike<TItem>, callback: (item: TItem, index: number) => void): void;
//# sourceMappingURL=array-for-each.d.ts.map