map.apps Bundle APIs 4.20.0
    Preparing search index...

    Function buildResult

    • Helper to create ResultItems from an items array. Note that the array will be modified.

      Type Parameters

      • T extends {}

      Parameters

      • items: readonly T[]

        Array of items.

      • Optionaltotal: number

        Number of total items.

      Returns ResultItems<T>

      Result items.