Public function

Signature
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[]
Source

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

UiEventTypeuniqueId