onvif
    Preparing search index...

    Function struct

    • Create a record from the list where the key is commonly used parameter For example, from the profiles array get an object where we can have rapid access to profile using its token

      Type Parameters

      • T
      • K extends string | number | symbol

      Parameters

      • list: T[]
      • groupKey: K

      Returns Record<string, T>