Wraps the array into a data array with the current comparator.
(values: U[])
| 203 | |
| 204 | /** Wraps the array into a data array with the current comparator. */ |
| 205 | private lwrap<U>(values: U[]): DataArray<U> { |
| 206 | return DataArrayImpl.wrap(values, this.defaultComparator); |
| 207 | } |
| 208 | |
| 209 | public chain<U>(op: (arr: DataArray<T>) => DataArray<U>): DataArray<U> { |
| 210 | return op(this); |