Function flatMap

  • Flatten nested lists, based on map function.

    Returns

    flat lists

    Type Parameters

    • K

    Parameters

    • x: Lists<K, any>

      nested lists

    • fm: MapFunction<K, any, any> = null

      map function (v, k, x)

    • ft: TestFunction<K, any> = null

      test function for flatten (v, k, x) [is]

    Returns Lists<K, any>

Generated using TypeDoc