(raw: T[] | DataArray<T>)
| 468 | export namespace DataArray { |
| 469 | /** Create a new datacore data array. */ |
| 470 | export function wrap<T>(raw: T[] | DataArray<T>): DataArray<T> { |
| 471 | if (isDataArray(raw)) return raw; |
| 472 | return DataArrayImpl.wrap(raw); |
| 473 | } |
| 474 | |
| 475 | /** Create a new DataArray from an iterable object. */ |
| 476 | export function from<T>(raw: Iterable<T>): DataArray<T> { |
nothing calls this directly
no test coverage detected