API Reference > bentleyjs-core > Collections > ReadonlySortedArray > _remove _remove MethodProtected Removes the first occurrence of a value comparing equal to the specified value from the array. _remove(value: T): number Parameter Type Description value T The value of the element to delete Returns - number the index of the deleted value, or -1 if no such element exists. Defined in core/bentley/src/SortedArray.ts Line 258 Last Updated: 11 June, 2024