API Reference > bentleyjs-core > Ids > Id64 > Id64.forEach Id64.forEach Function Execute a function on each Id64String of an Id64Arg. forEach(arg: Id64Arg, callback: (id: Id64String) => void): void see Id64.iterate for a similar function which allows iteration to be halted before it completes. Parameter Type Description arg Id64Arg The Id(s) to iterate. callback (id: Id64String) => void The function to invoke on each Id. Returns - void Defined in core/bentley/src/Id.ts Line 335 Last Updated: 13 June, 2024