Function flatMap

  • Flatten nested array, based on map function.

    Parameters

    • x: any[]

      an array

    • fm: MapFunction<any, any> = null

      map function (v, i, x)

    • ft: TestFunction<any> = null

      flatten test function (v, i, x) [is]

    Returns any[]

    flat iterable

Generated using TypeDoc