Public function

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

array

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

packages/editor/src/lib/utils/uniq.ts

UiEventTypeuniqueId