kit
    Preparing search index...
    • Maps a simple flat array to a lookup dictionary object

      Type Parameters

      • T extends string | number | symbol

      Parameters

      • array: T[] = ...

      Returns Record<T, 1>