API Reference > bentleyjs-core > Ids > OrderedId64Iterable > OrderedId64Iterable.union OrderedId64Iterable.union Function Given two ordered collections of Id64Strings, produce a collection representing their union - i.e., the Ids that are present in either or both collections. union(ids1: OrderedId64Iterable, ids2: OrderedId64Iterable): OrderedId64Iterable note If the inputs are not ordered as required by OrderedId64Iterable, the results are unpredictable. Parameter Type Description ids1 OrderedId64Iterable ids2 OrderedId64Iterable Returns - OrderedId64Iterable Defined in core/bentley/src/OrderedId64Iterable.ts Line 120 Last Updated: 11 June, 2024