* Returns the unique values in an 1D array * @param arr The array
(arr: ArrayType1D)
| 358 | * @param arr The array |
| 359 | */ |
| 360 | unique(arr: ArrayType1D): ArrayType1D { |
| 361 | const uniqueArr = new Set(arr); |
| 362 | return Array.from(uniqueArr); |
| 363 | } |
| 364 | |
| 365 | /** |
| 366 | * Checks if array is 1D |
nothing calls this directly
no outgoing calls
no test coverage detected