API Reference > bentleyjs-core > Collections > SortedArray > forEach forEach Method Apply a function to each element in the array, in sorted order. forEach(func: (value: T) => void): void Parameter Type Description func (value: T) => void The function to be applied. Returns - void Defined in core/bentley/src/SortedArray.ts Line 197 Last Updated: 13 June, 2024