@vivliostyle/core
    Preparing search index...

    Function multiIndexArray

    • Index array using key function. Repeated indices are all combined into arrays. Elements with empty and null keys are dropped. Ordering of the elements in arrays is preserved.

      Type Parameters

      • T

      Parameters

      • arr: T[]
      • key: (p1: T) => string

      Returns { [key: string]: T[] }