Endo API documentation
    Preparing search index...
    • Throws if multiple entries use the same property name. Otherwise acts like Object.fromEntries but hardens the result. Use it to protect from property names computed from user-provided data.

      Type Parameters

      • T = any

      Parameters

      • allEntries: Iterable<readonly [PropertyKey, T], any, any>

      Returns { [k: string]: T }