@mikuroxina/mini-fn
    Preparing search index...

    Function flatMap

    • Maps items in the array src by fn and flattens.

      Type Parameters

      • T
      • U

      Parameters

      • fn: (t: T) => readonly U[]

        Function to map an item into other items.

      Returns (src: readonly T[]) => readonly U[]

      A new array of mapped items.