API Reference > bentleyjs-core > Collections > ReadonlySortedArray > _extractArray _extractArray MethodProtected Extracts the sorted array as a T[] and empties the contents of this ReadonlySortedArray. _extractArray(): T[] Returns - T[] the contents of this ReadonlySortedArray as a T[]. Defined in core/bentley/src/SortedArray.ts Line 207 Last Updated: 11 June, 2024