@hat-open/util
    Preparing search index...

    Function fromPairs

    • Convert array of key, value pairs to object

      Type Parameters

      • T

      Parameters

      • arr: [string, T][]

      Returns Record<string, T>