function uniq<T>(
  array:
    | {
        readonly [n: number]: T
        readonly length: number
      }
    | null
    | undefined
): T[]
Parameters
NameDescription

array

  | {
      readonly [n: number]: T
      readonly length: number
    }
  | null
  | undefined
Returns
T[]
toPrecisionuniqueId